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.

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

oltre 10 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() ...

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

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

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

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

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

oltre 10 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.',...

oltre 10 anni fa | 1 risposta | 1

1

risposta