photo

Jay Gersten


Aktiv seit 2015

Followers: 0   Following: 0

Statistik

  • Thankful Level 1

Abzeichen anzeigen

Feeds

Anzeigen nach

Frage


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

etwa 6 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

etwa 7 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

etwa 8 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

etwa 8 Jahre vor | 0 Antworten | 0

0

Antworten

Frage


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

etwa 9 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

etwa 9 Jahre vor | 1 Antwort | 0

1

Antwort