Answered
How to ensure a constant amplitude for a sin wave plot ?
I think if you increase the time resolution, that should solve your problem.

10 years ago | 0

| accepted

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

10 years ago | 0

Answered
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() ...

10 years ago | 0

| accepted

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

10 years ago | 0

| accepted

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

10 years ago | 0

| accepted

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

10 years ago | 0

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

10 years ago | 0

| accepted

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

10 years ago | 0

Question


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

10 years ago | 1 answer | 1

1

answer