Community Profile

photo

Khang Nguyen


9 total contributions since 2019

Khang Nguyen's Badges

  • Thankful Level 1

View details...

Contributions in
View by

Question


Warning "Ignoring extra legend entries"
Hi everyone, so this is my code, sorry if it distracts you, please let me know.Just put the code so that everyone knows excactl...

6 mois ago | 1 answer | 0

1

answer

Question


Using loop instead of hardcoding
Hi everyone, %inputs dvdt = @(t,v) t-v; v0 = 1; tspan = [0 1]; % h = 0.7 h = 0.7; [ta,va] = midpoint(dvdt,tspan,v0,h); ...

6 mois ago | 1 answer | 0

1

answer

Question


Using for loop for midpoint method
Hi guys, this is my code m = 1000; f = 75000; v0 = 0; h = 0.1; tspan = [0 10]; c = [50,100,500,1000,2000]; dvdt = cell(1...

6 mois ago | 0 answers | 0

0

answers

Question


Storing data for "for loop"
Hi everyone, for my L0 = [1 2 3 4 5], L10 = [2 3 4 5 6] L20 = [0 9 2 3 4] .... L200 = [2 3 4 5 6] (Up to 20 L values, just typ...

6 mois ago | 3 answers | 0

3

answers

Question


Using loop instead of hardcoding
s Hi everyone, I want to use for loop instead of just typing particular h values how can I do that ?. Furthermore, my ta and...

6 mois ago | 1 answer | 0

1

answer

Question


Removing space between the axis
Hey everyone, How can I remove the space between the y axis. As it is 0 0.5 1 1.5 2 2.5 3 .... , i just only want it to b...

6 mois ago | 1 answer | 0

1

answer

Question


Using loop to solve a same equations
Hey everyone, I got p0 = [1 2 3 4 5 6]; p10 = [ 3 4 5 6 7 8]; p20 = [3 4 2 5 6 7]; and f0 = @(x) = p0(1)*x^6 + p0(2)*x^5 ...

6 mois ago | 1 answer | 0

1

answer

Question


How can we solve two 1st- order ODE equations simultaneously
Given two 1st order ODE equations dy/dt = z dz/dt = u(1-y^2)z - y Two 1st order ODE above are coupled and must be solved s...

6 mois ago | 0 answers | 0

0

answers

Question


How to extract two equal maximum values at different index
Hi guys, How can I point out the different location of two maximum values example A = [8,5,6,7,8] If i type [max_A, index] ...

8 mois ago | 2 answers | 0

2

answers