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.

2015 views

Responded 1 year 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 1 year 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 2 years ago

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

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

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

1276 views

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

Responded 2 years ago

Posted 2 years ago

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

1154 views

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

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!

1 year 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, 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 ...

1107 views

Posted 3 years ago

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

1066 views

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

1041 views