photo

DJ V


Last seen: Today Active since 2016

Followers: 0   Following: 0

Message

Programming Languages:
Python, C++, C, MATLAB, Fortran, Visual Basic
Spoken Languages:
English

Statistics

  • Thankful Level 3

View badges

Feeds

View by

Question


In Simulink, how do I set the time step for simulations? I want it to be 0.1 seconds long. I've got it set to run 20 seconds.
I need to know how (and where) to set the time step for Simulink simulations. I've got it set to 20 seconds. I want to set it ...

ongeveer 12 uur ago | 0 answers | 0

0

answers

Question


How do I name a variable in Simulink so that I can later use it to compute a value, such as sin(psi) or cos(phi) or tan(theta).
How do I name a variable in simulink so that i can later use it to compute a value based on it, such sin(psi) or cos(phi) or tan...

3 dagen ago | 1 answer | 0

1

answer

Question


Simulink Error Message Inquiry
I'm not getting error messages relative to a new integration problem that I've mapped into Simulink. Its telling me the followi...

13 dagen ago | 1 answer | 0

1

answer

Question


Need some help learning Simulink
I'm having some trouble with Simulink. I need to be able to frame the input to an integration routine in terms of the time vari...

15 dagen ago | 1 answer | 0

1

answer

Question


Can't get Simulink to start in Windows
I try to start Simulink using a Windows shortcut. Instead it says: >> start_simulink >> matLabroot\bin\win64\matlab.exe -r ...

16 dagen ago | 1 answer | 0

1

answer

Question


Why won't my computer display the top of the output? Why does it cut if off?
The output from this program cuts off the initial data that I instruct it to output. Why is this happening? Note: what is bein...

20 dagen ago | 1 answer | 0

1

answer

Question


Having trouble printing variables I use as inputs to a function.
Okay, I'm having trouble getting Matlab to print variables out that I use as inputs to a function that are printing out NaN as t...

21 dagen ago | 2 answers | 0

2

answers

Question


Matlab ODE 4.5 Runge Kutta problem solver. Can't get it to work for one problem set.
I can't get the problem solver to work for myFun4. I don't understand why. It appears like the prior three myFun1, myFun2, and...

26 dagen ago | 1 answer | 0

1

answer

Question


Problems with Matix Manipulation
I copied this routine, so I'm not that familiar with it. It appers to have some errors built in. Matlab is giving me the follo...

ongeveer een maand ago | 0 answers | 0

0

answers

Question


I'm being told "Function definition not supported in this context. Create functions in code file."
I'm being told that the function in this code is not supported "in this context". What does this mean. It tells me to create f...

ongeveer een maand ago | 1 answer | 0

1

answer

Question


Getting error message when running Runge Kutta solution...
The code that produces the errors is below: clc; mass = 13.5; Jx = 0.8244; Jy = 1.135; Jz = 1.759; Jxz = 0.1204; G = Jx*J...

ongeveer 2 maanden ago | 1 answer | 0

1

answer

Question


Don't understand the reason this code is giving me errors.
The code that is producing the error is below. It says: >> test Error: File: test.m Line: 32 Column: 58 Invalid expression. ...

ongeveer 2 maanden ago | 1 answer | 0

1

answer

Question


Using Matlab Runge Kutta Routine
I'm having trouble with the following code. I'm trying to test it to get it to produce the final value as it proceeds through t...

2 maanden ago | 1 answer | 0

1

answer

Question


How do I call Simulink from Within Matlab then go back to the M-file software?
Alright, I need to call a Simulink file from an M file as though it were a subroutine. How do I call the Simulink file from wit...

3 maanden ago | 1 answer | 0

1

answer

Question


Question on Aircraft Drone Modeling - Simulation - Data Selection and Entry
Okay, I'll be blunt. I'm trying to learn about aircraft aerodynamics by working through a textbook on drone design. I have no ...

4 maanden ago | 0 answers | 0

0

answers

Question


I have trouble getting MATLAB to increase altitude or plot tail height upward when I use a positive number. I have to use a negative number. Why is this???
Code: pn=0; pe=0; pd=0; phi=0; theta=0; psi=0; handle=[]; %Simulation parameters dpn=0.5; %Change in position. dpsi=0....

4 maanden ago | 1 answer | 0

1

answer

Answered
I need to learn how to use this code. I'm trying to implement it in MATLAB. I'm having trouble getting the plane to assume a higher altitude.
Alright, I can get this to work using the line of code in the program. I have to subtract the incrementing value from the base ...

4 maanden ago | 0

Question


I need to learn how to use this code. I'm trying to implement it in MATLAB. I'm having trouble getting the plane to assume a higher altitude.
I'm having trouble getting the plane to assume a higher altitude. Can anyone please look for the comment in the top section tha...

4 maanden ago | 1 answer | 0

1

answer

Question


I'd like to do various things, including controlling the dimensions of the plot box. What I do here with xlim, ylim, and zlim doens't work.
I put the following together. It runs, but it doesn't produce an image that moves on the screen. Instead, the screen moves aro...

4 maanden ago | 2 answers | 0

2

answers

Question


I have a problem involving textbook MATLAB and use of handles and functions
I'm having problems figuring out how to get some MATLAB code from a textbook to run. The code follows. The only original code ...

4 maanden ago | 1 answer | 0

1

answer

Question


Plotting Lines and Points in 3D
I need to learn how to plot lines and points in 3D. Can someone please provide an example in Matlab? Thank you.

5 maanden ago | 1 answer | 0

1

answer

Question


WHen I've started Matlab int he past, it always started from point last session ended. I'm using student version now, and it won't do that. Why not?
WHen I've started Matlab int he past, it always started from point last session ended. I'm using student version now, and it wo...

meer dan 7 jaar ago | 0 answers | 0

0

answers

Question


Need to get dimensions to match and to return a 0 x 0 matrix for empty row.
This code give me a 1 x 0 array for any row that is empty. I need it to return a 0 x 0 empty matrix for any row that is empty. ...

bijna 8 jaar ago | 2 answers | 0

2

answers

Answered
How do I transform this handle into a string?
Okay, solved this one. Thanks for all the help.

bijna 8 jaar ago | 0

Answered
How do I transform this handle into a string?
Okay, I solved this one. Thanks to all for responding.

bijna 8 jaar ago | 0

Answered
What is wrong with this?
I modified code to: function SQUARE = logipack( V) % Find the size of the input matrix [m,n] =size(V); ...

bijna 8 jaar ago | 0

Question


What is wrong with this?
I need to be able to determine what my code is producing. It yields: <</matlabcentral/answers/uploaded_files/65644/Captu...

bijna 8 jaar ago | 2 answers | 0

2

answers

Question


How do I transform this handle into a string?
My code is: function x = find_zero( f,x1,x2 ) %FIND_ZERO Summary of this function goes here % Detailed explanation ...

bijna 8 jaar ago | 5 answers | 0

5

answers

Question


Told to ask a new question = Why won't this work?
My code follows, it doesn't work, but it does store the column indices of 1s. function SQUARE = logipack( V) % Find ...

bijna 8 jaar ago | 1 answer | 0

1

answer

Question


Problem with straightforward problem - Can you help?
My code is as follows. It doesn't return the right answer. For 1556 it returns "XI". Its supposed to return "XVI" for the cen...

bijna 8 jaar ago | 1 answer | 0

1

answer

Load more