photo

Jenni


Last seen: 6 months ago Active since 2024

Followers: 0   Following: 0

Statistics

  • Thankful Level 3

View badges

Feeds

View by

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

8 months ago | 7 answers | 0

7

answers

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

8 months ago | 1 answer | 0

1

answer

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

9 months ago | 1 answer | 0

1

answer

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

9 months ago | 1 answer | 0

1

answer

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

10 months ago | 1 answer | 0

1

answer

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

10 months ago | 1 answer | 0

1

answer

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

10 months ago | 1 answer | 0

1

answer

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

10 months ago | 1 answer | 0

1

answer

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

10 months ago | 3 answers | 0

3

answers