Community Profile

Contact

Top 5% contributor

Hi dpb, The problem only exists in 2012b, exactly the version you are using. In matlab 2012a, there is no such problem.

2891 views

Responded 3 years ago

Hi Bruno, this is the screenshot from 2012a: https://dl.dropboxusercontent.com/u/93494026/Screenshot%202012a.png and this is t...

what version of matlab you are using? because in matlab 2012b, there is such problem. I have tried it in matlab 2012a, there is ...

Hello all, I have a problem. Apparently when I use interp2 with matrices as inputs, I get strange results. Try to run this code...

Posted 3 years ago

Hello all, I have a problem. I have the following scipt to make 2D interpolation of some function fu(x,y) = x^2y-y^2x. There is ...

2 Answers

0

Asked 3 years ago

Hi Steven, I get the problem. Apparently if I use interp2 with matrices as input, and with element by element calculation, the ...

2675 views

Hi Bruno, what version of matlab are you using? in matlab 2012b, there is error. Anyway, I have found the problem. Could you ta...

Hi Steven, Thank you for pointing me in the right direction. I try this: result1 = fuint(1,ytry); %fuint is the function from...

Hi Steven, Thank you for your help. So how do you suggest me to modify the function, so that I can integrate it? Thanx

Hello all, I have a problem. Try to run the following code, and you will get a warning. For those of you who don't have integral...

Suppose you go from position 7 to 10 to 6 to 4. Then you have walked 9 units of distance, since 7 to 10 is 3 units, 10 to 6 is 4...

Solve this!

3 years ago

Reverse the vector elements. Example: Input x = [1,2,3,4,5,6,7,8,9] Output y = [9,8,7,6,5,4,3,2,1]

Regardless of input, output the string 'yes'.

Return true if the elements of the input vector increase monotonically (i.e. each element is larger than the previous). Return f...

Triangle numbers are the sums of successive integers. So 6 is a triangle number because 6 = 1 + 2 + 3 which can be displa...

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

In MATLAB, you create a vector by enclosing the elements in square brackets like so: x = [1 2 3 4] Commas are optional, s...

Hello, Could you check this: http://www.mathworks.com/matlabcentral/newsreader/view_thread/328759 This is the actual problem. ...

1611 views

But then what should I do if I want to integrate this interpolation function? The quad2d or integral2 or whatever make input of ...

Hello, I have a 2D scatter plot. There are sufficiently many points (20 000 points). I want them to look smoother. Is there any...

1583 views

Hello Bruno, thanx for answering. but if it is possible, I still want to do it without for-loops, because the result of the inte...

1517 views

Responded 4 years ago

Hello guys, I have a problem. I want to create a function which is defined from quad2d. Say: func = @(m,l) quad2d ( @(x,y) g(x,...

Posted 4 years ago

hello all, I have some problem. I want to fit data points with custom fitting function. In the fitting function, there is a para...

1510 views

Hello, I am a noob in matlab. I have a question. I have data file data.txt which contains two columns. the first column is the ...

1480 views

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