photo

Jay Gersten


Con actividad desde 2015

Followers: 0   Following: 0

Estadística

  • Thankful Level 1

Ver insignias

Feeds

Ver por

Pregunta


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

casi 6 años hace | 1 respuesta | 0

1

respuesta

Pregunta


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

casi 7 años hace | 1 respuesta | 0

1

respuesta

Pregunta


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

más de 7 años hace | 1 respuesta | 0

1

respuesta

Pregunta


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

casi 8 años hace | 0 respuestas | 0

0

respuestas

Pregunta


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

más de 8 años hace | 1 respuesta | 0

1

respuesta

Pregunta


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

casi 9 años hace | 1 respuesta | 0

1

respuesta