Question

predictive ability of matlab

I have original time series that experienced as some point in time abnormal values. I would like then to compare it to 12 other ...

1 month ago | 1 Answers | 0

Posted

Drawing probabilities

Hi all, I have a quick question. I have the set of proportions for 4 variables: Var_1: 70-80% Var_2: 20-30% Var_3: 3-4% I need t...

10 months ago | 542 views

Question

possible bug in "unique" function

Dear all, Could you, guys, help me please. I have a matrix X = 2.2000 3.3000 2.2000 3.3000 4.0000...

1 year ago | 4 Answers | 0

Answered

how to create two bell shape curves

Hi Wayne, yes, I tried both ways already. However, if you do sum(y) or sum(y1) to give you the are under the curve (or trapz(y)...

how to create two bell shape curves

Hi Wayne, yes, I tried both ways already. However, if you do sum(y) or sum(y1) to give you the are under the curve (or trapz(y)...

3 years ago | 0

Question

how to create two bell shape curves

with the areas under these curves equal to 1, the same mean but different standard deviations. Thanks!

3 years ago | 3 Answers | 0

Question

gaussian histogram so that area is equal to one.

I have a quick question. I am creating my data in the following manner: a = -100; b = 100; x = a + (b-a) * rand(1, 500);...

3 years ago | 1 Answers | 0

Question

is the a way to vary intersection between two normal bell curves

I would like to generate two random gaussian curves in such a way that I have a way to control intersection between these two cu...

3 years ago | 0 Answers | 0

Question

difference between trapz and just summing

Dear everybody, I was wondering what is the difference between the function trapz and the sum as used below. It appears to be a...

3 years ago | 1 Answers | 0

Responded

Re: tail extropolation

that is I want to look at cdf values byeond the smallest and largest values as provided by data

3 years ago | 1212 views

Posted

tail extropolation

I have histogram and I would like to extropolate both of its tails. Could you please suggest how could I do that within the matl...

3 years ago | 1212 views

Question

not sure how to approach this

I have a 2D matrix. Let's say A=80x100; I need a way to visit each cell in this matix only once. Moreover my problem is a littl...

4 years ago | 3 Answers | 0

Question

Cell array....searching without a loop?

I have a cell array A. Size is 200x1. The size of A{1} is 501x201x119=i x j x k. The same is true for other cells in A. Now for ...

4 years ago | 1 Answers | 0

Question

plotting histogram at each pixel of imagesc, possible?

Hi everybody, I have a quick question. I have two variables a=11x119x50 and b=119x50. I am plotting b as imagsc(b). Now I wou...

4 years ago | 1 Answers | 0

Question

is there to make this double room to run faster?

Hi guys, I am trying to reduce the cost of running my program: is there a way to reduce two pieces of code: FIRST ONE: ...

4 years ago | 1 Answers | 0

Question

quick syntax question for saving run time

I have the following: m1 = rand(5,5) m2 = rand(5,5) m3 = rand(5,5) m4 = rand(5,5) ...

4 years ago | 1 Answers | 0

Answered

finding a minimum from multiple matricies

You, guys, are soooooooooooooo great! Awesome! and thank you!

finding a minimum from multiple matricies

You, guys, are soooooooooooooo great! Awesome! and thank you!

4 years ago | 0

Question

finding a minimum from multiple matricies

Hi everybody, I have a few large matricies of equal size. At each location, I would like to find minimum and its index. Note, es...

4 years ago | 5 Answers | 1

Question

comparing shapes: how to find the right one

Hi everybody, I have the following problem. I have a true data set. Which is a binary matrix (0/1). If I do imagesc(true_data), ...

4 years ago | 1 Answers | 0

Question

shape matching: how to best address this problem

Hi everybody, I have this problem. In the figure, I need to see which set 1 or set 2 best matches my main set. Of course, you ca...

4 years ago | 0 Answers | 0

Question

automatic kmeans: choosing the number of clusters automatically?

Hi, I was wondering if there is a way in matlab to do automatic kmeans clustering where the number of clusters K is choosen auto...

4 years ago | 1 Answers | 0

Answered

the problem of shifting and pcolor

This is exactly the issue with pcolor I am facing. I am just not sure how to solve this small problem: p_color with shading fla...

the problem of shifting and pcolor

This is exactly the issue with pcolor I am facing. I am just not sure how to solve this small problem: p_color with shading fla...

4 years ago | 0

Question

the problem of shifting and pcolor

Hi all, I am doing this code, and it appears that my text pixels are shifted compared to my pcolor output. Any suggestions. Not...

4 years ago | 2 Answers | 0

Question

pcolor and pixel shift

I am using the following code. It appears that my text '*' has been shifted somewhat. Any suggestions on how to shift it back. I...

4 years ago | 1 Answers | 0

Answered

m_proj question: unexpected error

Hi, well actually that is what is giving to me. I cannot change it. I did [x,y]=m_ll2xy(lon,lat,'clip','off')

m_proj question: unexpected error

Hi, well actually that is what is giving to me. I cannot change it. I did [x,y]=m_ll2xy(lon,lat,'clip','off')

4 years ago | 0

Question

m_proj question: unexpected error

I have vector of lat and lon defined as: lat = linspace(90,32,30); lon = linspace(0,358,180); I then do m_proj: ...

4 years ago | 3 Answers | 0

Question

any fast funcitons to do this triple for loop?

I have this code. Is there any way to make it faster. My data is huge. Thanks. I am simple restoring everthing into vector inste...

4 years ago | 1 Answers | 1

Question

function that can do random drawing

I have the following probabilities: 0.8 for category 1 and 0.2 for category 0. I need to randomly draw a category (0/1) such tha...

5 years ago | 1 Answers | 0

Question

regress and stats

In regress function there is an option to save stats that includes R^2 among the other things. I am trying to see the relationsh...

5 years ago | 2 Answers | 0

Question

how to find which bin the number goes to in histogram

Dear everybody, So, I have the following [h, value] = hist(X, 25); I then have a number coming in say Y=5. I would like to ...

5 years ago | 1 Answers | 1