Community Profile

photo

jack


Attivo dal 2011

Statistiche

  • Thankful Level 2
  • Thankful Level 1
  • First Answer

Visualizza badge

Content Feed

Visto da

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

quasi 6 anni fa | 0

| accettato

Domanda


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

quasi 6 anni fa | 1 risposta | 0

1

risposta

Domanda


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

circa 6 anni fa | 0 risposte | 0

0

risposte

Domanda


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

quasi 8 anni fa | 2 risposte | 0

2

risposte

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

circa 8 anni fa | 17

Domanda


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

oltre 12 anni fa | 1 risposta | 0

1

risposta

Domanda


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

oltre 12 anni fa | 2 risposte | 0

2

risposte

Domanda


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

oltre 12 anni fa | 1 risposta | 0

1

risposta

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

oltre 12 anni fa | 0

Domanda


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

oltre 12 anni fa | 2 risposte | 0

2

risposte