photo

Jenni


Last seen: environ 2 mois il y a Actif depuis 2024

Followers: 0   Following: 0

Statistiques

  • Thankful Level 3

Afficher les badges

Feeds

Afficher par

Question


How to fix my linear fit model?
Hi all! I am trying to find a proper way to fit two linear models to my data points. I have attached the code below. Hence, I a...

4 mois il y a | 7 réponses | 0

7

réponses

Question


How to write a Monte Carlo Simulation?
Hi, I am having troubles in combining plotting and Monte Carlo Simulation. My assignment is following: "Lisa runs a resale bus...

4 mois il y a | 1 réponse | 0

1

réponse

Question


How can I use custom equation in cftool?
Hey! I am trying to plot the magnitude of the magnetic field along the axis of symmetry of the magnet as a function of the dist...

4 mois il y a | 1 réponse | 0

1

réponse

Question


How to plot function with different first x values?
Hey! I am trying to plot voltage, current and the power. My task is to subplot three plots where are these situations: Current...

4 mois il y a | 1 réponse | 0

1

réponse

Question


How to fix a syntax in the oscillator's plot code?
Hi! My assignment would be to observe harmonic oscillator. I have created a function for the driven oscillator's equation of mo...

5 mois il y a | 1 réponse | 0

1

réponse

Question


How to plot a linear function?
Hey! Here is my function and I am trying to plot a linear function in form: y = b_0 + b_1x. How could I plot this function ...

6 mois il y a | 1 réponse | 0

1

réponse

Question


How to fix broken function code?
Hey! Here is my function and I am trying to estimate the values of b_1 and b_0, but when I am running my code, I get following m...

6 mois il y a | 1 réponse | 0

1

réponse

Question


Syntax problem in creating a function which takes a vector as an argument
r_1 = 0.84 - 0.29i; r_2 = 0.84 + 0.29i; c = 4.55; t = [2:1:50]; y(t) = k_1*r_1^t + k_2*r_2^t + c; function out = t out...

6 mois il y a | 1 réponse | 0

1

réponse

Question


Why do I get "Array indices must be positive integers or logical values" when I am trying to plot my functions?
figure(1) alpha=0.89; beta=0.89; gamma=0.5; c(0)=1; i(0)=1; y(0)=2; for t=1:50 y(t) = c(t) + i(t); c(t) = alpha...

6 mois il y a | 3 réponses | 0

3

réponses