Community Profile

photo

David Scidmore


Last seen: 4 months ago Active since 2020

Statistics

Content Feed

View by

Question


Illegal use of reserved keyword "end".
[T,Y] = ode45(@Bqfun1,[0 2],[1 1 -0.01]); plot (T,Y(:,1),'b','linewidth',1) function dy1 = Bqfun1(t,y) dy1 = zeros(2...

4 months ago | 1 answer | 0

1

answer

Question


Error using odearguments line doesn't exist.
[T,Y] = ode45(@Bqfun1,[0 2],[1 1 -0.01]); plot (T,Y(:,1),'b','linewidth',1) function dy1 = Bqfun1(t,y) dy1 = zeros(2,1)...

4 months ago | 1 answer | 0

1

answer

Answered
Check for incorrect argument data type or missing argument in call to function 'lsim'.
I figure it out by looking further into notes. I downloaded an addon and used. plot(t,x(:,1),'-k')

5 months ago | 0

Question


Check for incorrect argument data type or missing argument in call to function 'lsim'.
Why doesn't matlab actually give you indicators to where the error is. Only doing it because of a class and have no intentions t...

5 months ago | 2 answers | 0

2

answers

Question


How to plot streamlines from column vectors?
I am trying to plot streamlines to get the shape of an object from equations that were provided. The issue I'm having is that my...

7 months ago | 1 answer | 0

1

answer

Question


Trying to plot a streamline
I am trying to plot a streamline, but for some reason my u and v are returning single values. I'm trying to get the x and y valu...

7 months ago | 0 answers | 0

0

answers

Question


How to plot for physical bodys and streamlines?
I'm trying to plot a streamline and am learning MatLAB as I go along (coding is definately not for me) for my class. I have the ...

7 months ago | 1 answer | 0

1

answer

Question


Why is this ending my matrices before they are filled, and how do I print the answer of the multiplication?
C=input('How many columns are there in P? '); R=input('How many rows are there in P? '); P=zeros(R:C); co=1; ...

8 months ago | 1 answer | 0

1

answer

Question


Writing a closed while loop
I'm trying to write part of a code that continues a function for the time set of 10. So something like while t =< 10 delta...

8 months ago | 1 answer | 0

1

answer

Question


Looking to plot yaw motion of an aircraft but get "Array indices must be positive integers or logical values." Error
clear all clc N_phidot = -0.36752; N_phi = -8.3569; N_delta_r = -3.8313; delta_R = -10; sigma = 1/2.*N_phi; omega_d =...

8 months ago | 1 answer | 0

1

answer

Question


Trying to plot a function of time while a variable changes values at different time intervals
As the title states I'm trying to plot a function (or two actually), while a variable changes at different variables. The progra...

8 months ago | 1 answer | 0

1

answer

Question


Plotting a function and it's derivative with multiple points of time
I am working on trying to plot the perturbation roll angle from steady state and have the following. clear all clc L_p...

8 months ago | 1 answer | 0

1

answer

Question


How would I write a command to take record individual integrals of time of 0.01 from 0 > t > 5
I am trying to figure out how to take the points of time for each hundreds of a second from 0 to 5. I'm doing this to try and sm...

8 months ago | 0 answers | 0

0

answers

Question


Setting up equation with variables without values
I am trying to set up in order to derive equations as I've been stuck on one thing for a few days now. One multiple sin or cos f...

12 months ago | 1 answer | 0

1

answer