Answered
Error popup: "Undefined function 'cosd' for input arguments of type 'matlab.ui.control.NumericEditField' "
You are passing in handles to the components, not the values they contain. You need to access the specific property of the compo...

20 días ago | 0

| accepted

Answered
not enough input arguments
You have written the function to accept 5 inputs: l,x1,x2,y1,y2 However, when you call it, you are only using one: a, which get...

20 días ago | 1

Answered
How to Use Sliders to Change RGB Values of an Image in GUI
Yes, it has to do with storing the image. You callbacks are functions. The variables do not exist once the function exits. You n...

20 días ago | 0

Answered
Connecting edit fields with a push button
You can do this by changing the properties of the output edit field inside the callback function of the push button. You can get...

20 días ago | 0

| accepted

Answered
Matlab App Designer - Image Editing
Have you considered variable scope? Each callback is a function. Once you leave a function, the variables created inside it no l...

20 días ago | 0

Answered
Creating a 3D surface plot of an array considering two for loops
The error is because, assuming the rest of your code is correct, you have reversed your indices for assigning to z. You initial...

21 días ago | 0

Answered
Reading Dataset from Excel File
The easiest way to start is by using the import tool. It is on the toolstrip in the Home tab. This video from the Practical Data...

21 días ago | 0

Answered
how to change datatip from datenum format to datestr format
I would suggest converting your dates to datetimes. Then you can just set the formatting of your displayed dates to be whatever ...

21 días ago | 1

| accepted

Answered
Using for loop to match quarterly series with daily time series
If you can convert your data to timetables, I'd use the retime function. To do that, you might want to consider updating your im...

21 días ago | 1

| accepted

Answered
Assign one name to three variables in table
It sounds like you want table variable y to be a categorical. If you don't want duplicates, you can set those rows equal to miss...

22 días ago | 0

Answered
Adding multiple items to a list box in app designer
Your code adds the new field. Are you getting an error message, or is it just not displaying? Perhaps look into what is entered ...

22 días ago | 1

| accepted

Answered
how to open a .m file that I've previously made using a push button in app designer
You could run the script from App Designer using run('script_name') The script will have to be in the current folder or on the...

22 días ago | 0

Answered
How to import dates?
If you are unfamiliar with readtable, start by using the import tool. It is on the toolstrip in the Home tab. This video from th...

22 días ago | 0

| accepted

Answered
Trying to make a table with 21 rows, 4 colums
Based on what I see in your image, consider revising how you want to put this in a table. Why? Each column in a table is a vari...

25 días ago | 1

Answered
Undefined function or variable 'Part2iiTime'.
This error message means MATLAB can't find the function. Where does this function live? Have you saved it yet? Is it in the curr...

27 días ago | 0

Answered
I have a problem in SimulinkOnramp 9.1 discrete system (1/4)task 4.....
See this post.

28 días ago | 0

| accepted

Answered
Cannot uninstall Matlab, help!
You could try the steps in the Uninstall MathWorks Products page. If you can't find it in your Progams Files, perhaps it has be...

alrededor de 1 mes ago | 0

Answered
Matlab Grader: Complex and conditioned assessments for alternative solutions, differentiable error messages and figures
I like that you are not forcing students to solve the problem exactly the same way you did. There are often multiple ways of obt...

alrededor de 1 mes ago | 0

Answered
Is it possible using tiledlayout to have one set of tiles with shared tight y-limits and other tiles with much larger y-limits without losing the zoomed view of tiles with tight y-limits?
To me, it appears the previous timeseries YAxis Limits have not changed (i.e. it is still "zoomed in"). I think what has happene...

alrededor de 1 mes ago | 0

| accepted

Answered
Time format in seconds since 0-Jan-0000
You could use datetime. d = datetime(0,0,0,0,0,6.375053639947000e10) d = 01-Feb-2020 10:19:59

alrededor de 1 mes ago | 0

| accepted

Answered
Multiple Files Into Arrays
You have two general options. Place all your code for a single file into a for loop that will loop through each of your 62 file...

alrededor de 1 mes ago | 0

Answered
How to assign a value against a string from 1st column to other?
If you create your table as a MATLAB table with your X values as the rownames, you could do the following: X = {'1';'2A';'2B';'...

alrededor de 1 mes ago | 0

| accepted

Answered
I am looking to repeat my Euler's method 'for' loop for different initial conditions to produce a graph with multiple plots
You probably need to use a second for-loop then. I'll leave it to you to implement, but here's a simple example. n = [10 200 3...

alrededor de 1 mes ago | 0

Answered
How to get value from this type of table?
Unless you have a lot of these to read in, it's going to be quicker to either recreate this table in a format that is easier t...

alrededor de 1 mes ago | 0

Answered
Replacing values in an array over a certain value
mod(ang+90,180)-90;

alrededor de 1 mes ago | 1

Answered
Curve fit for data points
Here's how I would do it. Fz = [Fz_1100 Fz_880 Fz_650 Fz_430 Fz_210]; Dy = [Dy_1100 Dy_880 Dy_650 Dy_430 Dy_210]; Cy = [Cy_...

alrededor de 1 mes ago | 2

Answered
How can I use the function?
This code has an indexing error, and as such, won't run. Where'd you get this code from? Is it supposed to be working?

alrededor de 2 meses ago | 0

Answered
Changing scale in plot
You could try setting the Exponent property of the first figure. x=get(gca); x.YAxis.Exponent = -3;

alrededor de 2 meses ago | 0

| accepted

Answered
why the while loop with two conditions don't verify the second condition ?
What is it not doing that it should be doing? After simplying your code, the first time I ran it, it stopped when p2==0 (the se...

alrededor de 2 meses ago | 1

Answered
I need help graphing boxplot
What is the raw source of your data? A table? Right now, there is no connection between TotalAlarm and gender. Ideally, this is...

alrededor de 2 meses ago | 0

Load more