photo

Jenni


Last seen: 6 Monate vor Aktiv seit 2024

Followers: 0   Following: 0

Statistik

  • Thankful Level 3

Abzeichen anzeigen

Feeds

Anzeigen nach

Frage


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

8 Monate vor | 7 Antworten | 0

7

Antworten

Frage


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

8 Monate vor | 1 Antwort | 0

1

Antwort

Frage


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

9 Monate vor | 1 Antwort | 0

1

Antwort

Frage


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

9 Monate vor | 1 Antwort | 0

1

Antwort

Frage


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

10 Monate vor | 1 Antwort | 0

1

Antwort

Frage


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

10 Monate vor | 1 Antwort | 0

1

Antwort

Frage


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

10 Monate vor | 1 Antwort | 0

1

Antwort

Frage


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

10 Monate vor | 1 Antwort | 0

1

Antwort

Frage


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

10 Monate vor | 3 Antworten | 0

3

Antworten