Community Profile

photo

Jon


Last seen: Today
246 total contributions since 2013

Contact

Jon's Badges

  • Knowledgeable Level 4
  • Pro
  • Revival Level 1
  • First Review
  • 3 Month Streak
  • Thankful Level 2
  • First Answer

View details...

Contributions in
View by

Answered
How to plot multiple graph
I don't have the symbolic toolbox, but I could get your code to work by modifying as follows. Note I did not include the line sy...

ungefär 23 timmar ago | 0

Answered
Unrecognized function or variable 'FirstDerivative'
It looks like you are either missing the function FirstDerivative or maybe it is in a directory somewhere but that location is ...

4 dagar ago | 1

| accepted

Answered
How to find x and y component of a vector
Yes I think you should be able to recover the x and y components using the real and imaginary parts, that is using MATLAB's real...

5 dagar ago | 0

| accepted

Answered
How can i work with a matrix that present floating points
I don't think the problem is float versus integer. MATLAB is very forgiving on this. Are you sure that your bat_N values are neg...

5 dagar ago | 0

Answered
RMSD between two signals
Looking at your variables in the workspace I see the signals probeWith and probeWithout. Each arrays with two columns. I assume ...

5 dagar ago | 0

Answered
Real Time Plotting in Gui by taking data from Simulink
One way to do this is using get_param to get data from run time objects Please see https://www.mathworks.com/help/simulink/ug/...

6 dagar ago | 0

Answered
How can I solve a linear system of equation Ax=b where A and b are changing in a for loop
You could do it like this: % preallocate arrays to hold results x = zeros(9,360); A = zeros(9,9,360); b = zeros(9,1,360); ...

6 dagar ago | 1

| accepted

Answered
pulse disturbance signal generator
How are you running your simulation? Is it in Simulink? In Simulink you can use a From Workspace block to create an arbitrary s...

7 dagar ago | 0

| accepted

Answered
Recursive Forecast with VAR Model
You could do it in a loop something like this (I'm assuming the ith forecast value is a scalar, otherwise you may have to adjust...

7 dagar ago | 0

Answered
How to Add Headings to a list of data
In general, MATLAB doesn't provide for column or row labels for matrices. You could put the array into a MATLAB table and label...

8 dagar ago | 0

Answered
Problem to read csv file with a blank line
You should be able to use the headerlines property value pair in your call to readtable to skip the first 5 lines something like...

8 dagar ago | 0

Answered
while loops , error in use of the word else and else
At least one problem you have is in the loop: while fluid_volume <= (tank_volume_max - v_tol ) Fluid_height = fluid_height...

8 dagar ago | 0

Answered
Bode plot obtained from measured data is different from that obtained from transfer function
There are a number of problems with your problem formulation. I think the primary one may be that your system, as defined, is u...

18 dagar ago | 0

Answered
How to make a 3D Matrix
You can also do it like this, for example for a 2 by 4 by 3 A = ones(2,4,3).*reshape(1:3,1,1,3)

19 dagar ago | 1

| accepted

Answered
checking the existence of timetable and merge
If it is a question of whether the variables have been created at all, you can check whether they exist using the exist MATLAB c...

19 dagar ago | 0

Answered
How I finish a recursive function?
In your recursive function there must finally be a branch where you encounter a return. Once it hits this return, it will back ...

19 dagar ago | 0

Answered
MATLAB time (seconds) vs velocity graph plotting questions
Hi First, I am glad that although you are asking for help on homework you have made a good attempt on your own and are now jus...

21 dagar ago | 1

| accepted

Answered
How can I fix "Undefined operator '-' for input arguments of type 'matlab.ui.Figure'"
figure is a MATLAB command that will open up a new figure. MATLAB is telling you, it does not make any sense to subtract 1 from...

21 dagar ago | 0

| accepted

Answered
simple liquid spraying circuit
I would suggest thinking about it like this. Start with an integrator to represent the tank. The tank level is the integral of ...

25 dagar ago | 0

Answered
flatten structure array if values are identical
As a very general suggestion you should be able to make use of the MATLAB unique command for this purpose. Obviously a lot more ...

25 dagar ago | 0

Question


Control number of decimal places in app designer uitable with table array data
I am using a uitable created using app designer. The Data property is assigned to a MATLAB table array. Some of the columns in...

25 dagar ago | 1 answer | 0

1

answer

Answered
frequency shift property of the of FT
As currently written you are trying to produce a time vector starting at 0 with increments of 1e-9 (Tc/2) up to a value of -5e8 ...

ungefär en månad ago | 0

Answered
Hello I'm student and i have a project using matlab and i don't know anything about using matlab and the project is about representing output of signals. Can any one help me with matlab ??
Once you have learned enough MATLAB then please attempt the assignment. If you then have specific problems with the code you ha...

ungefär en månad ago | 0

Answered
Please help me understand whether I have set up a loop and performed an RMSE (Root Mean Square Error) calculation correctly
You could do something like this. I just made up some numbers to try the code. Also, obviously variable names like columnOfDat...

ungefär en månad ago | 0

| accepted

Answered
Hello I'm student and i have a project using matlab and i don't know anything about using matlab and the project is about representing output of signals. Can any one help me with matlab ??
I would recommend starting here: https://www.mathworks.com/learn/tutorials/matlab-onramp.html

ungefär en månad ago | 0

Answered
Matlab onramp problem 44934 plot damped sinusoid
The code that you show seems to be OK. I suspect that one of the arguments (y or t) in the script or function that is calling pl...

ungefär 2 månader ago | 0

Answered
How can one "summarize a matrix with the first four columns"?
Here is one way to do it. There might be some clever way to fully vectorize (eliminate the loop) this, but this will work if pe...

ungefär 2 månader ago | 0

| accepted

Answered
Dot indexing is not supported for variables of this type+ App designer
Usually when I unexpectedly get that error message it is because the object is empty. Are you sure there are folders that match ...

ungefär 2 månader ago | 0

| accepted

Answered
how to create a table in Matlab ?
You can do something like this x = [1;0.8;0.5;0.2] dt = [0.05;0.05; 0.05;0.05] EL1 = [3; 4; 5; 6 ] t = table(x,dt,EL1) Ther...

ungefär 2 månader ago | 0

| accepted

Answered
Selecting and Manipulating Specific Elements from Cell Array
% define original matrix myCell = {'apples' 1;'bananas',3;'apples' 10;'apples',9;'bananas' 7} % use logical indexing to just g...

ungefär 2 månader ago | 0

| accepted

Load more