Community Profile # jack

Active since 2011

#### Statistics

• • • #### Content Feed

View by

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 == ...

bijna 6 jaar 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...

bijna 6 jaar ago | 1 answer | 0

### 1

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...

bijna 6 jaar ago | 0 answers | 0

### 0

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...

meer dan 7 jaar ago | 2 answers | 0

### 2

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

bijna 8 jaar ago | 17

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...

meer dan 12 jaar ago | 1 answer | 0

### 1

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...

meer dan 12 jaar ago | 2 answers | 0

### 2

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*"?

meer dan 12 jaar ago | 1 answer | 0

### 1

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...

meer dan 12 jaar ago | 0

Question

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

meer dan 12 jaar ago | 2 answers | 0