Answered
Matlab 5.2
Are you asking if you can run MATLAB 5.2 using that license? Possibly if you can find an old machine. The System Requirements fo...

6 years ago | 0

Answered
code analyzer bar not indicating syntax errors
There are some problems that Code Analyzer's static analysis can detect, but a misspelled function name is not always something ...

6 years ago | 0

| accepted

Answered
fmincon and optimization with a symbolic matrix
The function is optimoptions (plural) not optimoption (singular).

6 years ago | 0

| accepted

Answered
hold on does not work
Can you confirm that you're calling the hold function included in MATLAB and not a different hold.m that you've written and/or d...

6 years ago | 0

Answered
How to plot histogram where the data is the height
histogram('BinEdges', [0 1 2], 'BinCounts', [107 55])

6 years ago | 0

Answered
working with missing table data
Calling scatter on data stored in a table array is possible. You just need to extract the data from the table rather than trying...

6 years ago | 0

| accepted

Answered
Unrecognized function or variable 'typeof'
You have downloaded or written an isa function that is shadowing (taking precedence over) the built-in isa function. Locate that...

6 years ago | 0

| accepted

Answered
Is Simscape available with student/campus license?
Looking at the online store (by clicking the "Buy Now" button on this page) I see that Simscape is listed as an available add-on...

6 years ago | 0

Answered
Solve equations by fsolve and with input anonymous function format
fun = @(x,y) [x+y^2-5, 6*x^2+13*y-5] Since fsolve requires the function you pass into it to accept one input, a vector, you nee...

6 years ago | 1

| accepted

Answered
Writing a function, when each argument is dependent on previous argument while the first argument is known
You start off with L being a matrix but then you turn it into an anonymous function. Which should it be? If it should be a matr...

6 years ago | 0

Answered
coordinates of a point from a matrix
Clear the variable you've defined named find that's preventing you from calling the find function.

6 years ago | 1

| accepted

Answered
calling dependent properties from one class to another
classdef fitFunction methods(Static) function f=fit(objDS) P=[0.456,0.2030] objCore.Matc...

6 years ago | 0

Answered
How to use matlab debugger
Show us the whole stack at which MATLAB is stopped. dbstack You're stopped inside the factorial function that is included with...

6 years ago | 0

Answered
Finding peaks in signal
It doesn't seem like you want to locate peaks (which you could do using the islocalmax function) but you want to remove a trend....

6 years ago | 0

Answered
Error using brace indexing with function hypot
Nowhere in your first section of code do you define a variable named expData. MATLAB doesn't get as far as your hypot call in th...

6 years ago | 0

Answered
How to create a for loop to automatically assign names to colomns from excel data
Consider reading your data into a table array using the readtable function.

6 years ago | 0

Answered
Looking for the Source code of built in function ldl.m
The ldl function is built into MATLAB. It is not implemented as a MATLAB script, function, or class file. We don't distribute it...

6 years ago | 0

Answered
Sizeof error and Z is a scalar/Vector but needs to be matrix
x = 1:10; if any(size(x) < 3) error('x has size less than 3 in at least one of its dimensions.') end Compare: y = magic...

6 years ago | 0

Answered
Find duration of signal
If the empty data points are represented by NaN then find the 'last' 1 element of the vector that isfinite. x = [1:10 NaN(1, 5)...

6 years ago | 0

Answered
Indexing arrays of binned data
Take a look at the groupsummary function. % Include rng default so you generate the exact same random numbers I did rng defaul...

6 years ago | 0

Answered
fsolve handling a composition of functions gives the error, "not enough input arguments"
This: g(f) attempts to call the function handle stored in f with 0 input arguments and 1 output argument then call the functio...

6 years ago | 0

| accepted

Answered
A totally lost student :)
The limits of the axes in your figure are different from the limits of the axes pictured in your textbook. Try changing the axes...

6 years ago | 0

Answered
How to change a variable to a time variable?
Those columns in your spreadsheet are not what I would call a datetime. They have a time component, yes, but not a date componen...

6 years ago | 1

Answered
MATLAB workspace not showing variables but a struct called 'wng'
Are you calling the built-in who function or a who.m that you've written or downloaded? What does this display? which -all who

6 years ago | 0

Answered
datetime - time only - 2016a
Use the timeofday function defined for datetime arrays. >> timeofday(datetime('now')) % It is 3:12 PM as I type this ans = ...

6 years ago | 0

| accepted

Answered
Is there a Way to Determine Which Function Will be Called Without Actually Calling the Function ?
Yes, and in fact you've already given the syntax for that call! See the "Locate Function Invoked with Given Input Arguments" exa...

6 years ago | 0

| accepted

Answered
Why there is NO add course button in my Matlab Grader?
Are you an instructor? Do you satisfy all the prerequisites?

6 years ago | 0

Answered
What does mean .* and ' ?
The .* operator performs element-wise multiplication. The ' character has at least three potential meanings that I can think ...

6 years ago | 2

| accepted

Answered
Finding a matching pair of vectors between two matrix
Be careful about the floating point numbers in your arrays. Consider using ismembertol with the ByRows name-value pair.

6 years ago | 1

Answered
In MATLAB 2020a, how can I convert symfun to double?
You're not specifying a value for t. If any of the elements of the vector p returns when evaluated are functions of t, there's n...

6 years ago | 0

| accepted

Load more