Community Profile

photo

Ash matlab


Last seen: 4 years ago Active since 2020

Statistics

  • Thankful Level 2
  • Thankful Level 1

View badges

Content Feed

View by

Question


Can someone explain how this line in the code works?
Hello, Can anyone explain how this works? l_points(3,1)=-r/fzero('quintic', .1) - Ms/(Ml+Ms); fzero and quintic are both f...

4 years ago | 1 answer | 0

1

answer

Question


Issue with plotting. I put it in a vector but it returns a scalar once it goes through the calculation
Hi everyone I wanted to plot this program. My N ranges from 1 to 60 and the function is set below it. However it only runs when...

4 years ago | 1 answer | 0

1

answer

Question


Can anyone explain what this question means?
Write a program which runs as a function from the command line to find the equilibrium positions of the masses by solving Kx = b...

4 years ago | 0 answers | 0

0

answers

Question


How to add the additional force into the code (possibly state vector)
Hi Y'all, I wanted to add a force that pulled the object to the left ( -x axis) How would I add that into the code. I thought t...

4 years ago | 0 answers | 0

0

answers

Question


Undefined variable, when variable is actually defined
The plot doesn't work when you run it, it says thplot is undefined... %% orbit - Program to compute the orbit of a comet. ...

4 years ago | 1 answer | 0

1

answer

Question


How to stop a simple harmonic oscillator after one period
Hi Matlabers I have this code and I was wondering how should I stop the code once the pendulum makes one period. I thought an ...

4 years ago | 1 answer | 0

1

answer

Question


My function only works in the online matlab and not on the one installed on my laptop
Hi everyone! So I created a function on the matlab on my laptop and it worked, but I don't know what I did that it stopped w...

4 years ago | 1 answer | 0

1

answer