Community Profile

# Jon

##### Last seen: Today
248 2013 年以降の合計貢献数

#### Jon's バッジ

How to run 2 scrips simultaneously, one for sending output to lab equipment and one for reading sensor output.
I'm not sure about licensing restrictions, but in Windows (probably similar for other OS) you can right click on the MATLAB ico...

How can i get the control effort/output of the PID?
So I see you are on the right track, you are trying to define the appropriate closed loop transfer functions but using MATLAB's ...

1日 前 | 0

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...

3日 前 | 0

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 ...

6日 前 | 1

| 採用済み

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...

7日 前 | 0

| 採用済み

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...

7日 前 | 0

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 ...

7日 前 | 0

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/...

8日 前 | 0

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); ...

8日 前 | 1

| 採用済み

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...

9日 前 | 0

| 採用済み

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...

9日 前 | 0

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...

10日 前 | 0

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...

10日 前 | 0

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...

10日 前 | 0

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...

20日 前 | 0

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)

21日 前 | 1

| 採用済み

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...

21日 前 | 0

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 ...

21日 前 | 0

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...

23日 前 | 1

| 採用済み

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...

23日 前 | 0

| 採用済み

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 ...

27日 前 | 0

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 ...

27日 前 | 0

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...

27日 前 | 1 件の回答 | 0

### 1

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 ...

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...

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...

| 採用済み

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

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...

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...

| 採用済み

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 ...

| 採用済み