Community Profile

photo

Amanda Liu


Aktiv seit 2021

Followers: 0   Following: 0

Just getting into matlab. Hoping you can answer my question. ^^

Statistiken

All
  • Thankful Level 3
  • Solver

Abzeichen anzeigen

Feeds

Anzeigen nach

Frage


Anonymous function or for loop?
Assume I have a simple electrical function of V=C*sin(t) where C is a constant which varies based on t intervals. I have used ...

fast 3 Jahre vor | 3 Antworten | 0

3

Antworten

Frage


Relationship between (i & j) of a nested for loop and (x & y) coordinates?
If I have a nested for loop: T=ones(n) for i = 1 : nx for j = 1 : ny T(i,j) = %something end end I understand...

fast 3 Jahre vor | 2 Antworten | 0

2

Antworten

Frage


Configure multiple lines of same Line Properties in a single line?
Assume that I have 4 primitive lines with the same Line Properties, can I configure all 4 Line Properties in a single line so th...

fast 3 Jahre vor | 1 Antwort | 0

1

Antwort

Gelöst


Select every other element of a vector
Write a function which returns every other element of the vector passed in. That is, it returns the all odd-numbered elements, s...

fast 3 Jahre vor

Gelöst


Times 2 - START HERE
Try out this test problem first. Given the variable x as your input, multiply it by two and put the result in y. Examples:...

fast 3 Jahre vor

Frage


Contour is plotting my data in reflected order?
I'm using flip to solve this but is this intentional?

fast 3 Jahre vor | 2 Antworten | 0

2

Antworten

Frage


Why does my V returns a single scalar value?
% Given P = 3000; E = 7e10; h = 0.1; b = 0.005; t = 0.008; w1 = 0.15; w2 = 0.09; L = 2; % Input x0=0; dt=0.1; x=...

fast 3 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


How do I supply different constants into a function of a loop?
My code is currently supplying 2 constants of A only. How do I supply another 2 constants of B into the same function? n=30; ...

fast 3 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


Loop never stops?
Why does my loop never stops after I assign k1 & k2 as symbolic variables? n=10; T=sym(zeros(n,n)); T(1,:) = 410; % Top T(...

fast 3 Jahre vor | 1 Antwort | 0

1

Antwort