I need help coding a problem for a matlab class

5 comentarios

Zachary Tubbs
Zachary Tubbs el 24 de Sept. de 2020
This is the set up for the problem
Steven Lord
Steven Lord el 24 de Sept. de 2020
If you show us the code you've written to try to solve the homework problem and ask a specific question about where you're having difficulty we may be able to provide some guidance.
If you aren't sure where to start because you're not familiar with how to write MATLAB code, I suggest you start with the MATLAB Onramp tutorial (https://www.mathworks.com/support/learn-with-matlab-tutorials.html) to quickly learn the essentials of MATLAB.
If you aren't sure where to start because you're not familiar with the mathematics you'll need to solve the problem, I recommend asking your professor and/or teaching assistant for help.
Look at input(), plot()
t=0:.01:5;
h=%your equation
Zachary Tubbs
Zachary Tubbs el 24 de Sept. de 2020
this was my code for 1 part b and when I run it and no matter what I input it says my I entered 1. Is there something inherently wrong with my code?
damping=-1;
while damping < 0
damping=input('Enter starting damping coeffecient (greater than zero)');
end

Respuestas (0)

La pregunta está cerrada.

Preguntada:

el 24 de Sept. de 2020

Cerrada:

el 20 de Ag. de 2021

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by