Community Profile

# Jie

### KU Leuven

12 total contributions since 2013

View details...

Contributions in
View by

Plotting several values returned by a function.
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...

plus de 7 ans ago | 0

In the first part of the code, plot the approximation of π as a function of N, the number of terms in the series, for N between 1 and 15. The function to be used is (pi^2-8)/16=Summation(n=1:N)(1/((2n-1)^2*(2n+1)^2))
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]; ...

plus de 7 ans ago | 0

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

plus de 7 ans ago | 0

Suppose I have a matrix A(590x133). How should I find slope of each row of the matrix A
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. ...

plus de 7 ans ago | 0

Matrix creation with specific logic
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...

plus de 7 ans ago | 0

cross validation in neural network
try to 'global' targated variables

plus de 7 ans ago | 0

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

plus de 7 ans ago | 0

| accepted

How can I make a function plot based on the values listed below?
just plot(X,Y) if ur workspace already have these 2 variables.

plus de 7 ans ago | 0

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

plus de 7 ans ago | 0

Solved

Is my wife right?
Regardless of input, output the string 'yes'.

plus de 7 ans ago

Solved

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

plus de 7 ans ago

Solved

Returning a "greater than" vector
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 =...

plus de 7 ans ago