Answered
How can I plot 2d data with hist3() in an Axes component placed within a Panel or Tab component using Matlab App Designer?
I am able to use hist3 in an app designer app, so it is definitely supported. I think the issue is with your syntax. It must fol...

6 years ago | 0

Answered
Finding the Closest Value to an Input Value from a Table Column
Find the minimum of the absolute value of the difference. [val,idx] = min(abs(x-y)) You can read more about what the outputs a...

6 years ago | 1

| accepted

Answered
Display row from Excel file in Matlab
The error message you are seeing is because importdata returns the results in a stucture. Numeric data would be in X.data, text ...

6 years ago | 0

| accepted

Answered
How to save a matlab table?
If you want to do this programmatically, use the saveas or print function. You can also do this interactively through the file ...

6 years ago | 0

| accepted

Answered
Accessing information within a structure in app designer and How to pass data from one push-button to the other
In the upper left of app designer, you will have the ability to create properties. Use this to add a property to the app structu...

6 years ago | 0

Answered
Error using .^ Matrix dimensions must agree.
This is because rotor_angle is 51x1 and k is 1x51. Transpose one of them. L=sum(log(abs(rotor_angle.data(k).^(-123*k'))))

6 years ago | 0

| accepted

Answered
Graph columns where x value in a narrow range is below a threshold value.
This is not the way to group action potentials, especially if you want to try to group 500,000 of them. I'd recommend looking in...

6 years ago | 0

Answered
Where is my fault??? - UPDATE!
The main issue is that you plot after you create the axes. That resets the xlim property. Set xlim after you create your 3rd lin...

6 years ago | 0

Answered
Matlab Trial for CourseWork
Yes. The trial is a full, working version of MATLAB. However, it will expire after 30 days. Depending on how much you'll need MA...

6 years ago | 0

Answered
I want to get the contour of only red bird in the image
Change the name of your file to something other than contour. Then in the command window, type clear contour and press enter. C...

6 years ago | 0

| accepted

Answered
How do I change the increment in an if statement inside a loop
I guess I'm confused on the difference between = and ==. One equals means 'set equal to or assign'. x=5 assign x a value of 5....

6 years ago | 0

Answered
Problem with installing Matlab on Drive C, Win 7
I suggest looking at this post. You could also try following the instructions given here.

6 years ago | 0

Answered
How do I show a quiver plot from a matrix?
The issue is with your calculation of dy. Variable a is 2x2, but t is 42x21.

6 years ago | 0

Answered
Getting blank plot in MATLAB
This is because t is a scalar. When you plot, it has the value it was assigned on the last loop of the for loop: 10. Try changi...

6 years ago | 0

Answered
How to use the order of "x axis" in a graph of bar.
You haven't specified an X-input in your bar plot command, so it's not reordering the data at all. Because you haven't specified...

6 years ago | 0

| accepted

Answered
Plot or mark a single point in App Designer
You have to add a second plot to your figure using hold on, and plot just the single point with your desired color and line styl...

6 years ago | 0

| accepted

Answered
MATLAB online issues??
You could try the suggestion given in this post.

6 years ago | 0

Answered
Polyfit: How to use?
I recommend using the examples in the documentation to guide you. Here, you must use the exact same x and y values that you use...

6 years ago | 0

| accepted

Answered
APPs designer matlab save data to workspace
See this answer.

6 years ago | 0

Answered
Daily average of several years data
If you can turn your data into a table, use the groupsummary function. Assuming you want to average days from each year, you cou...

6 years ago | 0

| accepted

Answered
Matlab Grader & LMS Viewing Student Solutions
The LMS sends us anonymous ids that cannot be matched back to a student. Since the id is meaningless, it is not displayed. The ...

6 years ago | 0

Answered
Matlab Grader Reports?
There are two ways to use MATLAB Grader. 1) a course hosted on grader.mathworks.com and 2) Integrated into your learning managem...

6 years ago | 0

Answered
Out of memory. The likely cause is an infinite recursion within the program.
Do you want to be calling your function recursively? If so, try adding a semicolon at the end of your "RQ16_19(10,5,3)" line of ...

6 years ago | 0

Answered
Combining Spreadsheets to Create a Table in Matlab
There are a couple things that make this problem challenging MATLAB does not like having variable names be numbers (the zip cod...

6 years ago | 0

Answered
How to choose specific countries and plot graph?
You'll have to get the data into MATLAB first. I suggest using the import tool. This video may be helpful for that. Once you ha...

6 years ago | 0

| accepted

Answered
Converting Menu to Listdlg
You can find examples in the documentation. You probably want something like this. Volt = listdlg('ListString',string(CurData(1...

6 years ago | 0

| accepted

Answered
How to create a user interface to give input parameters and get output results in a MATLAB code
I suggest familiarizing yourself with app designer.

6 years ago | 0

Answered
Unable to perform assignment because the left and right sides have a different number of elements.
The issue is you create Ef, Vf, Em as well as several other variables as vectors. Ef(i)=prec(1)*10^9; %Elastic Modulus of Fiber...

6 years ago | 0

Answered
Split table column into multiple columns within the same table based on a specific delimiter
Another approach Click.avrg_spectrum = str2double(split(string(Click.avrg_spectrum),",")); newClick = splitvars(Click,"avrg_sp...

6 years ago | 0

Answered
Unable to perform assignment because the left and right sides have a different number of elements.
No error for me, but I had to guess what values to use for Lambda. This error message occurs when your expression on the right ...

6 years ago | 0

Load more