Community Profile

photo

Brilliant Purnawan


Last seen: 2 years ago Active since 2020

Followers: 0   Following: 0

Statistics

  • Thankful Level 3
  • First Review

View badges

Feeds

View by

Question


Extract only odd rows in a matrix
Hi, how would I modify the following code if I only want to extract the odd rows in the output matrix. The output is generated b...

3 years ago | 1 answer | 0

1

answer

Question


Conditional with time in ode45
Hi, how would you change a variable in a function when 't' in ODE45 reaches a certain value? I have already tried formatting it ...

3 years ago | 2 answers | 0

2

answers

Question


Conditional variables with running ODE45
Hi all, is it possible to call variables within an ODE45 and use if statements? So the general idea can be see in the code below...

3 years ago | 1 answer | 0

1

answer

Question


ODE45 SIR model problem
Hi, I'm quite new to MATLAB and recently tried to plot a SIR model using its first order equations, but everytime I tried to use...

3 years ago | 1 answer | 0

1

answer

Question


Loop an if with different parameters
Hi, doing some practice codings and ran into a snag. So, i'm trying to plot(t,y) with different matrix 'e' values? Let's say my...

3 years ago | 1 answer | 0

1

answer

Question


Index in position 2 exceeds array bounds (must not exceed 1). Error can't seem to find the mistake
So I recently tried changing the arrow head visuals through annotations, the following code is a modified one, and everytime I r...

3 years ago | 1 answer | 0

1

answer

Question


Unable to format fractions in xticklabels
Hi, so I'm trying to write a fraction in 'xticklabels', I already tried to write $\frac{a}{b}$ but it doesn't seem to work, ...

3 years ago | 1 answer | 0

1

answer

Question


Adding velocity directions in phase potrait plot
Hi, need some help regarding adding arrows in velocity plot. So my current plot based on the script extract below yields, the "a...

3 years ago | 0 answers | 0

0

answers

Question


Phase plot adding direction arrows
Hi, need some help regarding adding arrows in velocity plot. So my current plot based on the script extract below yields, the "a...

3 years ago | 0 answers | 0

0

answers

Question


How to plot specific variables rather than all of them?
Hi, quite new to MATLAB and ran into some problems with plotting a specfici variable. Below the code is for the dynamics of a pe...

3 years ago | 1 answer | 0

1

answer