Answered
Matlab online: Large .mat loaded 12/28/2021; won't load now
Contact support.

7 days ago | 0

Answered
Find local min point in plot
I suggest trying out the 'Find local extrema' live task. This will allow you to interactively set criterial for finding maxima a...

8 days ago | 0

Answered
How to find points inside Singapore?
You are correct, landareas does not contain a shape with the name 'Singapore'. landareas = shaperead('landareas.shp','UseGeoCoo...

8 days ago | 0

| accepted

Answered
How do I plot a 3D cube in a 3D array?
See this page.

8 days ago | 0

Answered
search character in table
You are not using isfield correctly. This function is for searching structure array fieldnames, not character vectors. Conside...

9 days ago | 0

Answered
Error Plot App Designer
First off, check out the Access Data in Tables page. There is no need to do this: YData = table2array(T(:,"C")); You can simpl...

9 days ago | 1

| accepted

Answered
"Data variables must be numeric or logical" despite variable being logical when using grpstats
The issue is not your grouping variable, it is your tblData. Specifically, trialType, which is a cell, and not numeric or logica...

9 days ago | 0

| accepted

Answered
How to make the output of a command into the variable for data
See the Generate Field Names from Variables doc page. You might also be interested in the RenameField function, available on th...

9 days ago | 0

| accepted

Answered
convert an empty cell to a string
I guess it depends on what you want the empty string value to be. The code is straightforward enough. A={[NaN]} B = string(A) ...

9 days ago | 0

| accepted

Answered
iam trying to make a function for graph
https://www.mathworks.com/learn/tutorials/matlab-onramp.html

9 days ago | 0

Answered
Hello Everyone, I am new in MATLAB and I want to get result of this code(MATLAB2021a), its run correctly but doesn't show the result. Anyone can help me?? thanks in advance
Here is perhaps some starter code for you on how to create a MATLAB table. rowNms = ["WIFI";"WIMAX";"UMTS";"LTE"]; varNms = ["...

9 days ago | 0

| accepted

Answered
Can someone help me writing this equation in matlab, I appreciate,..
Writing the equation is rather straightforward. You just need to decide what variable names you want to use. Here's one way. z ...

10 days ago | 0

Answered
Trying to index an array and extract its values with a for loop.
See MATLAB Onramp Ch 5: Indexing and Modifying Arrays. You might also find Ch 12: Programming helpful since it covers for loops...

10 days ago | 0

| accepted

Answered
Check for incorrect argument data type or missing argument in call to function 'neighbors'.
@Star Strider had what I thought was the correct answer. In your if statement, you reverse the order of your inputs to neighbors...

10 days ago | 0

Answered
Read a file into app designer with a button and use later with another button
You need to load your mat file to an app property. Use the link above to create the property. Let's say you name it S. Then, i...

11 days ago | 0

Answered
Installation of whole Matlab package isn't possible
See this answer: https://www.mathworks.com/matlabcentral/answers/489806-why-do-i-see-the-error-something-unexpected-occurred-wh...

11 days ago | 0

Answered
Providing better feedback to students when assessing FUNCTION problems in MATLAB Grader
You could assign the value of a specific field to a separate variable, and then check that using assessVariableEqual. variable1...

11 days ago | 1

| accepted

Answered
Code in loop won't execute
Here, isdir is a field in the structure returned by dir, and not a use of the isdir function (I initially thought the same thing...

11 days ago | 0

| accepted

Answered
Function findobj does not find an object (?)
assert is for comparison. Your code is checking if the marker of the found line is an asterisk. It is not, so the result is the ...

12 days ago | 0

| accepted

Answered
Matlab 3D probabilty histogram by 2D array
It looks like that figure might have been created using the spectrogram function. See this example. fs = 10e3; t = 0:1/fs:2; ...

12 days ago | 0

Answered
Showing robot in app designer UIAxes
Do you have the Robotics System Toolbox installed? Type ver in the command window to see. If not, and you have access to it, you...

12 days ago | 0

Answered
How can I copy text, equations, figures and code from Live Editor to MATLAB Grader
Good question. Please open your live script in MATLAB Online. In a new tab of the same browser, open your MATLAB Grader problem...

12 days ago | 0

| accepted

Answered
Index exceeds the number of array elements (0)
The problems is you are trying to index an empty array. You define Xn=[]; and never assign it a value, but then try to index it ...

12 days ago | 0

| accepted

Answered
How to use Camera Toolbar in a MatLab Live Script
You can pop the figure out of a live script. To do this, either 1) hover over the figure in the live script and click the 'Open ...

13 days ago | 0

| accepted

Answered
How to delete, in a logical values matrix, rows that contain two or more false values (zero)?
A single function, no, but you can obtain your desired output easily enough. faces_logical = [0 0 0; 0 0 0; 0 0 1; 0 0 0; 1 0 1...

13 days ago | 0

| accepted

Answered
Update 3D plots when values are changed in app designer
The only callback function with plotting code in it is the dropdown menu callback function. Currently, this function only runs w...

13 days ago | 0

| accepted

Answered
how can i make a general matrix?
https://www.mathworks.com/learn/tutorials/matlab-onramp.html

13 days ago | 1

Answered
Make the question as specific as possible
https://www.mathworks.com/learn/tutorials/simulink-onramp.html

13 days ago | 0

| accepted

Answered
Chebyshev Type 2 filter not working as expected
You have a ringing artifact because you have such a high order filter. Notice that the y axis of your filtered data is scaled by...

14 days ago | 0

Load more