Community Profile

# Massimo

23 total contributions since 2008

Contributions in
View by

Responded

Re: Compute a bivariate probability mass function on a predefined grid without loops
Roger, you are absolutely right!! Thanks for spotting my dumb mistake!! I don't know honestly how I came up with the idea of red...

4 years ago | 5197 views

Responded

Re: how to insert a matrix into a matrix
a = b = c =

4 years ago | 24693 views

Posted

Compute a bivariate probability mass function on a predefined grid without loops
Hi, I have a problem very similar to the one I posted some time ago here: http://www.mathworks.it/matlabcentral/newsreader/view...

4 years ago | 5197 views

Responded

Re: vectorizing interp1
Matt J, unfortunately I cannot use "*spline" because my x's are not uniformly spaced. It turns out that interp2 is slower than t...

5 years ago | 3329 views

Responded

Re: vectorizing interp1
Thanks Bruno! Now I have to check if using interp2 is faster in my real problem. Massimo

5 years ago | 3329 views

Responded

Re: vectorizing interp1
ok! Now i got it! Thanks. But this makes sense to me only for linear interpolation, not for spline as in my example, am I right?...

5 years ago | 3329 views

Responded

Re: vectorizing interp1
Matt, I am sorry but I do not understand the rationale behind your suggestion. It seems my problem is different since the x's in...

5 years ago | 3329 views

Posted

vectorizing interp1
I need some help in speeding up my interpolation problem. I am trying to simplify the problem at its essence below. Suppose I ha...

5 years ago | 3329 views

Responded

Re: linear extrapolation + spline interpolation with interp1
Thank you, I will look into that---not sure I know how to change the ppform yet--. If I have problems I will post another messag...

5 years ago | 11660 views

Posted

linear extrapolation + spline interpolation with interp1
Hi, I would like to know if there is a smart way to use interp1 and obtain spline interpolation and linear extrapolation at the...

5 years ago | 11660 views

Posted

ppval with interp1 problem
I am having a problem with the object size produced by ppval with pp constructed with interp1. Quoting Matlab Help, "If f is [D...

5 years ago | 1585 views

Responded

Re: Compute probability mass function on a predefined grid without loops
Matt, thanks. We are almost there...one question: if I use find_idx and then apply floor(idx), couldn't I just use bin from Mass...

5 years ago | 3174 views

Responded

Re: Compute probability mass function on a predefined grid without loops
Ok suppose both s(i) and s(i+1) lie between a(j) and a(j+1). Then s(i) will be distributed to a(j) according to a weight w(i) [w...

5 years ago | 3174 views

Posted

Compute probability mass function on a predefined grid without loops
Hi, I have been trying for a while and with no success to solve the following simple problem without using "for" loops. I have a...

5 years ago | 3174 views

Responded

Re: ppval in interpn?
Hi Sandro and Bruno, I am having the same issue as Sandro. I am currently using interpn with spline within an fsolve problem, an...

5 years ago | 10749 views

Posted

struct2cell
for input arguments of type 'sym'. When I try to perform the same operation on matlab 7.6 everything goes smoothly. Does anybod...

6 years ago | 3001 views

Responded

Re: different results windows vs unix
Ok so I tried the following experiment: I run my code on 3 machines with MATLAB 2009b. 1) my laptop which has Matlab win64 2) my...

7 years ago | 3181 views

Posted

different results windows vs unix
Hi, I would like to know if it makes any sense that the same routine, which I run on my local machine and on a unix server usin...

7 years ago | 3181 views

Posted

3d plot of a vertical plane
I am having troubles in plotting in a 3d graph a vertical plane associated with the equation x1=5-x2. Ideally I would like a ver...

7 years ago | 2357 views

Posted

numerical error? or am I missing something?
So there is one thing that is bugging me. Within a complicated code, there is a very simple matrix multiplication: EV=P*V; where...

8 years ago | 1788 views

Responded

John D'Errico" <woodchips@rochester.rr.com> wrote in message <g60gvh\$eja\$1@fred.mathworks.com>... John, I am sorry... I tried th...

8 years ago | 4053 views

Responded