photo

jack


Active since 2011

Followers: 0   Following: 0

Message

Statistics

  • Thankful Level 2
  • Thankful Level 1
  • First Answer

View badges

Feeds

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

nästan 7 år 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...

nästan 7 år 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...

nästan 7 år 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...

nästan 9 år ago | 2 answers | 0

2

answers

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

nästan 9 år ago | 18

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

mer än 13 år 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...

mer än 13 år 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*"?

mer än 13 år 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...

mer än 13 år ago | 0

Question


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

mer än 13 år ago | 2 answers | 0

2

answers