Answered
Why do i get "Array indices must be positive integers or logical values"?
Rename and/or delete the variable named cov you've created that shadows the built-in |cov| function.

8 years ago | 3

Answered
3-D plot for the function f(t)=(t,t^2,t^3) in t between 0 to 100 with matlab code
Take a look at the |plot3| function. If you try using that function and it doesn't work, show the code you've written and post t...

8 years ago | 0

Answered
Default layout configuration. I see only a command window
On the Home tab of the Toolstrip, click the Layout icon in the Environment section. This will allow you to customize the layout ...

8 years ago | 1

| accepted

Answered
chop doesn't chop very small numbers
I believe |chop| is an old function from Control System Toolbox. I recommend using |round| instead. The default behavior of |rou...

8 years ago | 0

| accepted

Answered
Too many output arguments error when using lsqcurvefit
The relevant line of your code included in the error message: Error in EstimationOfParametersAndInitialConditionsUsingLSQCU...

8 years ago | 0

Answered
what is the meaning of polyspace i.e (For Polyspace, 4 GB per core is recommended)
You're looking at the <https://www.mathworks.com/support/sysreq.html system requirements page>, I assume? Polyspace(R) refers...

8 years ago | 1

| accepted

Answered
Pareto chart in Matlab
Do you want to display the values in the 5-dimensional array as a series of bars drawn in descending order? If so, |reshape| you...

8 years ago | 0

Answered
plz explain the code
Based on the questions you've been asking it seems like you're new to MATLAB or it's been some time since you last used it. In e...

8 years ago | 0

Answered
Can't get fitnlm to work?
Looking at <https://www.mathworks.com/help/stats/fitnlm.html the documentation for |fitnlm|>, specifically the section describin...

8 years ago | 1

Answered
Keep getting ode45 error: @(T,X)IRRIGATIONMODEL_NONLINEARP2(T,X,UT,U) must return a column vector.
When you call irrigationModel_nonlinearp2 with the first element of your time span vector, your initial condition vector, and th...

8 years ago | 0

Answered
How to return all points in a polyshape
Actually, instead of extracting the vertices from the |polyshape| and calling |inpolygon|, I would call <https://www.mathworks.c...

8 years ago | 1

Answered
Escala no eixo x
Use the <https://www.mathworks.com/help/matlab/ref/xticks.html |xticks| function>? x = linspace(0,50); y = sin(x/2); ...

8 years ago | 0

| accepted

Answered
Sir,I'm not able to use 'imbilatfilt' function in MATLAB R2016a.It is showing that as "Undefined function or variable 'imbilatfilt' "
As the note at the end of the <https://www.mathworks.com/help/images/ref/imbilatfilt.html documentation page for |imbilatfilt|> ...

8 years ago | 0

| accepted

Answered
Expression or statement is incorrect--possibly unbalanced (, {, or [.
There are at least two problems in that line of code. The first is that you have four ( and only three ). &nbsp; If we ...

8 years ago | 0

Answered
what is textureless_map how it's works
The only two hits I can find searching for "textureless_map" on the MathWorks website are this Answers post and <https://www.mat...

8 years ago | 0

Answered
How can i find lookup table, that was in R7,1, in R17a?
Are you trying to use the Lookup Table block that was renamed and moved <https://www.mathworks.com/help/simulink/ug/updating-you...

8 years ago | 0

Answered
how fix this message Undefined function 'partfrac' for input arguments of type 'sym'. ???
If you didn't have Symbolic Math Toolbox, the call to |syms| would have thrown the error. This message indicates you're using...

8 years ago | 0

| accepted

Answered
Checkerboard design from zeros matrix
Consider the row and column numbers of the squares where you are allowed to place pieces. Do you see anything interesting relati...

8 years ago | 0

Answered
Plotting histogram in years like BCE, CE
Define the format for your date data. fmt = 'yyyy G'; Convert your data into a |datetime| array. "Unknown" dates become ...

8 years ago | 0

| accepted

Answered
Why is exist(variable,'var') not seeing a variable?
This line of code tests whether the variable with the name signedOrNot exists in the workspace. exist('signedOrNot', 'var')...

8 years ago | 2

Answered
About array and string
Since you've indicated you're using release R2012a, the |string| data type <https://www.mathworks.com/help/matlab/release-notes....

8 years ago | 0

Answered
Conditional with string wildcard
Use <https://www.mathworks.com/help/matlab/ref/startswith.html |startsWith|> to determine if the file name starts with "Tree" or...

8 years ago | 0

| accepted

Answered
instantaneous frequency on student version?
On that documentation page, look at the left side of the screen. Each of the first three sections after "Documentation Home" in ...

8 years ago | 1

| accepted

Answered
Size of a matrix after conditions is incorrect.
The last element of yel may be greater than d/2, may be less than d/2, or may be neither greater than nor less than d/2. It can'...

8 years ago | 0

Answered
M-File Editor with Syntax Highlighting for Android
Consider using <https://www.mathworks.com/products/matlab-mobile.html MATLAB Mobile>.

8 years ago | 0

Answered
How can I diagonalize a matrix which consists of matrix?
Use <https://www.mathworks.com/help/matlab/ref/blkdiag.html |blkdiag|>.

8 years ago | 0

Answered
How to assemble Kglobal in a for loop?
for (i = 1:nelement) Remove the parentheses. theta = connectivity_data(i,4); C = cosd(theta); S = si...

8 years ago | 1

| accepted

Answered
How can I get output in decimal value instead of this in any matrix?
Call |double| or |vpa| on that symbolic expression.

8 years ago | 0

| accepted

Answered
By what I can replace randint() function.
The recommendation in the <https://www.mathworks.com/help/comm/release-notes.html?rntext=randint&startrelease=R2015b&endrelease=...

8 years ago | 0

Answered
Undefined function 'mtimes' for input arguments of type 'myAD'.
Whoever wrote the myAD class didn't define the mtimes method for that class, which is used when you call the * operator on an in...

8 years ago | 0

| accepted

Load more