Answered
Can't switch between the contents of two different ListBoxes
I think the issue is that you have loaded your filtered data to the structure app.ws_filt, yet in your plotting code, you are tr...

3 years ago | 0

| accepted

Answered
Why do I get the error"Training using trainNetwork failed. Duplicate table variable name: 'input'"
I think this is because you are incorrectly using the same datastore (imdsTraingray?) for your splitEachLabel commands. I think ...

3 years ago | 0

Answered
Hello, kindly help. I am getting the following error: Error using odearguments @(T,X)STATEEQ(T,X,U,TU) must return a column vector. Error in Descent (line 17)
Your function stateEq returns a variable dx. The error is telling you it must be a colum vector. The most likely solution is to ...

3 years ago | 0

Answered
How to plot 5D in MATLAB
Your first 3 dimensions can be visualized on a cartesian axes (X,Y,Z). You'll need to get creative to view higher dimensions. Fo...

3 years ago | 1

| accepted

Answered
Update bar chart UIAxes from EditField value without deleting older plot
The way I would approach this in App Designer is to indeed recreate the entire plot each time. I would create an app property to...

3 years ago | 0

| accepted

Answered
Why does my sin graph look like a triangle?
Your sin wave is plotted just fine. However, it looks like a straight line because the magnitude of your second plot (in red) is...

3 years ago | 0

Answered
Add all values from loop to an array
I would use a filedatastore to load all the data into a single variable. You can see an example of how to use one to do this in ...

3 years ago | 0

Answered
Variable output as "1x0 empty double row vector" halfway through the program after previous iterations in the for loop has normal output values for the same variables.
We can't run your code to explore why specifically, but my guess is that they are empty because findpeaks did not identify any p...

3 years ago | 0

Answered
Can someone please check my code?
I've edited your code to make the error more visible. Can you now see why w.*t.*z is giving your an error that the arrays cont...

3 years ago | 0

Answered
Produce plots depending on the conditions that are listed within the code
Inspect your variable values to see if they are what you are expecting. The reason your last 2 plots are not appearing is becaus...

3 years ago | 0

Answered
How do I check how long my license is valid for?
You should be able to find this information in your MathWorks account profile. You may need to navigate into a license if you do...

3 years ago | 0

| accepted

Answered
MATLAB grader timed quiz in using Canvas
It is not currently possible to use MATLAB Grader in a quiz in Canvas. It is also not currently possible to impose a time limit...

3 years ago | 0

Answered
MATLAB - enroll users in course
See this Answer: https://www.mathworks.com/matlabcentral/answers/1668509-why-can-t-students-receive-email-notifications-for-cour...

3 years ago | 0

Answered
How to convert a timestamp to be able to plot with the times listed?
Convert your timestamps to datetimes and then just plot with your datetimes as your x values. T = ["2/7/2023 1:12:00 PM","2/7/...

3 years ago | 0

Answered
Writing data to readable workspace table
If you save your table using writetable, then you should probably read it back in using readtable. T = readtable('jjdexp.txt')...

3 years ago | 0

Answered
Subplot output data seen in two different window.
Remove the figure command from your code here: plot(W_ry,i_f); grid; title('Stator Akımı-Hız (Yaklaşık Eşdeğer Devre)'); xlab...

3 years ago | 0

Answered
How many technical support quotas does home license user have per year?
From the Home License product page, this license provides you with installation and activation support only. For technical suppo...

3 years ago | 1

Answered
Mass-sping-damper animation
You will need to draw each frame and capture it using getframe. Perhaps this example is helpful: https://www.mathworks.com/help...

3 years ago | 0

Answered
Merging cells problem with actxserver
To me, it appears that get('Range') is using relative rather than absolute reference. When you merge B1 and C1, B1 is treated as...

3 years ago | 1

Answered
What to use instead of deprecated spectrum()
The corresponding syntax is [P,F] = SPECTRUM(X,NFFT,NOVERLAP,WINDOW,Fs) Based on that, I think you could combine the followin...

3 years ago | 0

Answered
How to change time domain signal to frequency domain?
Sounds like you need to take the FFT of your time signal. You can do that using the FFT block. Here is an example you may find ...

3 years ago | 0

Answered
matlab grader cannot reach canvas gradebook
This error typically means that MATLAB Grader cannot reach or write to the the gradebook URL. This can happen when the LMS serv...

3 years ago | 0

Answered
automatic code evaluation for a live script
This may be overly simplistic, but based on what you have said, i would look into using Try-Catch statements. So I would try to ...

3 years ago | 0

| accepted

Answered
readtable successful on .xlsx file but fails on .xlsb file
No, you are not doing anything wrong. *.xlsb files are officially supported in readtable in R2019b. readtable determines the fi...

3 years ago | 0

Answered
how can we sketch the graph of this iteration xn+1=xn-8*f'(xn) in matlab code?
Have you tried the plot command? See Ch 9 of MATLAB Onramp.

3 years ago | 0

Answered
Animations in Live Scripts
The replay option is a feature of live scripts, and is not avaiable in external figure windows. This was introduced in R2021a.

3 years ago | 1

| accepted

Answered
Index exceeds the number of array elements
The error would suggest that dicomFiles and jpegFiles are empty. You haven't shared the code that creates those variables, so w...

3 years ago | 1

Answered
How to make two matrices of the same size
You should look into interp2, scatteredInterpolant, and griddedInterpolant. Which one is best will depend on your data.

3 years ago | 1

| accepted

Answered
How to use 'copy command' from MATLAB examples and implement it?
Copy the command, then paste it into your MATLAB Command Window and run it. That will automatically download and open the exampl...

3 years ago | 0

| accepted

Answered
MATLAB csv data import error
Based on what you've shared, it would appear the error has nothing to do with importing a csv. You syntax in creating or updatin...

3 years ago | 0

Load more