Community Profile

photo

jack


Active since 2011

Statistics

  • Thankful Level 2
  • Thankful Level 1
  • First Answer

View badges

Content Feed

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

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

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

bijna 7 jaar ago | 2 answers | 0

2

answers

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

ongeveer 7 jaar ago | 16

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

meer dan 11 jaar 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*"?

meer dan 11 jaar 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...

meer dan 11 jaar ago | 0

Question


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

meer dan 11 jaar ago | 2 answers | 0

2

answers