Community Profile

photo

Tim


Active since 2014

Followers: 0   Following: 0

Message

Statistics

  • Thankful Level 1

View badges

Feeds

View by

Answered
one index spans multiple functions
function Mfun d=4; e=3; b=5; fprintf('b=%d\n',b) function a = A(x) a = 0; for b=1:10 ...

9 years ago | 0

Answered
Create a new vector with the elements of another vector
Yes, I left out -3. I was just making two random vectors and wrote the script without trying running it on matlab :) Thank you v...

9 years ago | 0

Question


one index spans multiple functions
function Myfun d=4; e=3; b=5; fprintf('b=%d\n',b) function a = A(x) a = 0; for b=1:10 a = ...

9 years ago | 2 answers | 0

2

answers

Question


Create a new vector with the elements of another vector
I have 2 vectors a=[5 1 9 7 0 -5 1 -2] b=[2 8 1 6 -8 -3 4 1] I need to create a vector c, which is made up of elements of...

9 years ago | 2 answers | 0

2

answers

Question


How can I define string scalars for a name(for example, one for my name and one for today's date) in command windows?
Sorry I'm new to matlab. Is this what I'm supposed to do? a=['Tim']; b=['09/13']; When I tried creating a column vec...

9 years ago | 2 answers | 1

2

answers