Community Profile

Contact

Top 10% contributor

by the way the values of zi dont always fall between the values of any z(:,jj,kk), in those cases I want a NaN back and I do get...

3831 views

Responded 4 years ago

Matt, thanks, you are right and I am wrong! I have two similar programs that deals with different permutations of the dimensions...

I think this is where the problem is: several z(jj,kk,:) are similar vectors but not the same. ----- Not necessarily, clear...

with xi=interp1(z,x,zi); I get: Error using interp1 (line 123) X must be a vector. (it is a matrix size=[P,M*N]) the second ...

I often do interpolation with loops of the form: % for jj=1:m for kk=1:n end end % to interpolate in the vertical (looping over...

Posted 4 years ago

Given an input vector x, find all elements of x less than 0 or greater than 10 and replace them with NaN. Example: Input ...

Solve this!

4 years ago

Given the input n, return true if n is odd or false if n is even.

Try out this test problem first. Given the variable x as your input, multiply it by two and put the result in y. Examples:...

Hi Penny, Thank you for your answer. It was my mistake to not see the date of the email, indeed an old thread. However, I did e...

2608 views

Responded 3 years ago

quote -- Probably part of the problem with the histc bug fix is that it is a MEX-file and it's just a pain to post all 7 or 8 di...

Choose your country to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .

You can also select a location from the following list:

See all countries