Community Profile

Contact

Top 10% contributor

I'm afraid matlab may not be able to solve coupled(interlinked) PDEs with its own pdepe function. I used that one before. Howev...

accepted

0

Answered 2 years ago

Regardless of input, output the string 'yes'.

Solve this!

2 years ago

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

Given a vector, v, return a new vector , vNew, containing only values > n. For example: v=[1 2 3 4 5 6] n=3 vNew =...

You could have plotted the result in a loop (if you have used the function file correctly). But I suggest u not do this. In o...

wish this could help. % the formula could be rewrote as pi=sqrt(sum(16/((2*n-1)^2*(2*n+1)^2)+8) N=[1:15, 20, 30]; ...

try textscan() or strread() but as Walter posted, "The more the lengths are fixed and the formats are fixed, the ea...

You could use that function (or many other funs) to get your slope,but u probably could not get all the slopes at one instance. ...

If i did not take the def wrong, I'm afraid ur definition just gives (at most) the value of 90 different position in a matrix(fo...

try to 'global' targated variables

just plot(X,Y) if ur workspace already have these 2 variables.

function out_put =adpadding(in_put) % just wish you matrix size is not too large [n m]=size(in_put); A=['a' 'b' '...