Community Profile

photo

jack


10 total contributions since 2011

Contact

jack's Badges

  • Thankful Level 1
  • First Answer

View details...

Contributions in
View by

Answered
How to write a vector-valued function with vector input from the screen in MATLAB?
I have just found that (3) and (4) can be done by the following code TRUE = 1; FALSE = 0; OK = FALSE; while OK == ...

2 years ago | 0

| accepted

Question


How to write a vector-valued function with vector input from the screen in MATLAB?
I am trying to do the following in MATLAB: 1. input *from screen* a small positive integer M (between 1 and 8); 2. in...

2 years ago | 1 answer | 0

1

answer

Question


How should I define a missing function in this program?
In the attached program (from a companion website of a numerical analysis book), the file F.m is missing, which is supposed to b...

2 years ago | 0 answers | 0

0

answers

Question


Cell array manipulations in MATLAB
I have two cell arrays: |countryname| and |export|. There is only one column in |countryname|, which is the code of the names...

4 years ago | 2 answers | 0

2

answers

Answered
Repeat element of a vector n times without loop.
I would use repelem(X,3,1)

4 years ago | 7

Question


area plotting in the complex plane
Does anybody know how to "plot" an area in the *complex plane*? For example {z:|f(z)|<1} where f(z)=(1+z)/(1-z). Or more gene...

9 years ago | 1 answer | 0

1

answer

Question


Does MATLAB R2010b have a symbolic math toolbox?
Does MATLAB R2010b have a symbolic math toolbox? I can find it in the root of the file. But when I search it in the start menu i...

9 years ago | 2 answers | 0

2

answers

Question


set the state for the random number generator
For the function "randn", one can use randn('state',100); to set the state. How about the generator "*poissrnd*"?

9 years ago | 1 answer | 0

1

answer

Answered
symbolic calculation
The key point is that the MATLAB one uses needs to have the symbolic toolbox. Otherwise, one can not go further for the symbolic...

9 years ago | 0

Question


symbolic calculation
Why do I get >> a = sqrt(sym(2)) a = 1/2 2 inst...

9 years ago | 2 answers | 0

2

answers