Risposto

arg(Z) is the function returns argument of the complex number Z. but it is showing error while executing arg(1+i) as" Undefined function 'arg' for input arguments of type 'double' ". Can anyone help me?.do u need to convert double to complex?. put u

No such function as arg. Use angle(1+i)

arg(Z) is the function returns argument of the complex number Z. but it is showing error while executing arg(1+i) as" Undefined function 'arg' for input arguments of type 'double' ". Can anyone help me?.do u need to convert double to complex?. put u

No such function as arg. Use angle(1+i)

circa 9 anni fa | 0

Risposto

How to ensure a constant amplitude for a sin wave plot ?

I think if you increase the time resolution, that should solve your problem.

How to ensure a constant amplitude for a sin wave plot ?

I think if you increase the time resolution, that should solve your problem.

circa 9 anni fa | 0

| accettato

Risposto

How to print the first 100 primes including 1 as a vector

To print prime numbers less than 100 use primeNums = [1 primes(100)] See - http://www.mathworks.com/help/matlab/ref/pr...

How to print the first 100 primes including 1 as a vector

To print prime numbers less than 100 use primeNums = [1 primes(100)] See - http://www.mathworks.com/help/matlab/ref/pr...

circa 9 anni fa | 0

Risposto

How to avoid inf

Log of zero is -Inf. To avoid that add a small number before taking the log. For example - D = log(normcdf() - normcdf() ...

How to avoid inf

Log of zero is -Inf. To avoid that add a small number before taking the log. For example - D = log(normcdf() - normcdf() ...

circa 9 anni fa | 0

| accettato

Risposto

Is assign a title to rows or columns possible?

In the newer versions of matlab (I think 2013b and beyond) there is a type of data type called *table*. This allows you to use ...

Is assign a title to rows or columns possible?

In the newer versions of matlab (I think 2013b and beyond) there is a type of data type called *table*. This allows you to use ...

circa 9 anni fa | 0

| accettato

Risposto

I have a imaginary matrix C and I need to decompose it to B'AB. Where B should be of size (m,n) and A(m,m).

Without more information I can only assume you are trying to accomplish a Schur Decomposition. Please see <http://www.mathworks...

I have a imaginary matrix C and I need to decompose it to B'AB. Where B should be of size (m,n) and A(m,m).

Without more information I can only assume you are trying to accomplish a Schur Decomposition. Please see <http://www.mathworks...

circa 9 anni fa | 0

| accettato

Risposto

How to find overlapping between multiple cell array in a row?

Matlab allows set operations. I can think of doing it a few ways using "ismember" or "union" methods. Please see http://www.m...

How to find overlapping between multiple cell array in a row?

Matlab allows set operations. I can think of doing it a few ways using "ismember" or "union" methods. Please see http://www.m...

circa 9 anni fa | 0

Risposto

How to extract values from a multi column data within a for loop?

Let's say your matrix is A Use this code to combine the permutations in the first three columns into a vector B = [1...

How to extract values from a multi column data within a for loop?

Let's say your matrix is A Use this code to combine the permutations in the first three columns into a vector B = [1...

circa 9 anni fa | 0

| accettato

Risposto

Matlab ambient busy sounds

There does not seem to be a solution for this from within matlab? When I am running long scripts, I usually put a sendmail entry...

Matlab ambient busy sounds

There does not seem to be a solution for this from within matlab? When I am running long scripts, I usually put a sendmail entry...

circa 9 anni fa | 0

Domanda

In Matlab when issuing a custom warning, the message-id is not being recognized. How do I correct this?

I am issuing a warning in my code like - warning('Custom:data-missing','Can''t access Customer Terms for data point #%d.',...

circa 9 anni fa | 1 risposta | 1