Jenni
Followers: 0 Following: 0
Feeds
提问
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 前 | 7 个回答 | 0
7
个回答提问
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 前 | 1 个回答 | 0
1
个回答提问
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...
8 months 前 | 1 个回答 | 0
1
个回答提问
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...
8 months 前 | 1 个回答 | 0
1
个回答提问
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...
9 months 前 | 1 个回答 | 0
1
个回答提问
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 前 | 1 个回答 | 0
1
个回答提问
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 前 | 1 个回答 | 0
1
个回答提问
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 前 | 1 个回答 | 0
1
个回答提问
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 前 | 3 个回答 | 0