Community Profile

photo

Jay Gersten


Actif depuis 2015

Followers: 0   Following: 0

Statistiques

  • Thankful Level 1

Afficher les badges

Feeds

Afficher par

Question


How do I make an efficient While loop? setting true = 0, then while true = 0, results in an error on the while line. of code. What is wrong with that logic?
I want to run this while loop, and want to make sure i am doing it an efficient manner. I'm a beginner level matlab user in coll...

plus de 5 ans il y a | 1 réponse | 0

1

réponse

Question


How do I return a matrix in a function? I keep getting an error that says "Assignment has more non-singleton rhs dimensions than non-singleton subscripts"
Here is my code I wrote, function [out] = two_link_bot(theta1, theta1_dot, theta1_ddot, beta, beta_dot, beta_ddot)...

plus de 6 ans il y a | 1 réponse | 0

1

réponse

Question


Why won't my hold on work?
I am trying to plot a piece wise function using fplot. The code won't retain the previous graphs. I tried even using the example...

plus de 7 ans il y a | 1 réponse | 0

1

réponse

Question


This is code for Modified Regula Falsi method for finding roots. Something in here is preventing the if statements from executing properly.
function ModRegFal = ModRegFal(a, b, n) format long; a = input('Enter a value for lower boundary a: '); b =...

plus de 7 ans il y a | 1 réponse | 0

0

réponse

Question


Plotting the Tangent Line
I am trying to plot the tangent line to a curve given by the parametric equations x = sin(t), y = cos(t), z = t I have no i...

plus de 8 ans il y a | 1 réponse | 0

1

réponse

Question


Fixing Error using plot Invalid first data argument - new to matlab
I am trying to plot the function y=cos(x)*sin(x^2) and its derivative from -pi to pi. Here is my code. Why do I keep getting err...

plus de 8 ans il y a | 1 réponse | 0

1

réponse