# Vaclav Rimal

### Charles University, Faculty of Mathematics and Physics

Last seen: nästan 4 år ago Active since 2013

Followers: 0   Following: 0

All

#### Feeds

View by

How to read 3 values in row of 3 columns as 1
Suppose your two matrices you want to combine are: A=[1 30 31;33 1071 1072;35 1079 1077]; B=[4501 4502 4503;4568 5287 52...

mer än 7 år ago | 0

Given that your original matrix is Aorig, do the following: Anew = Aorig - ones(size(Aorig,1),1)*mean(Aorig); Note that ...

nästan 8 år ago | 0

Solved

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

ungefär 8 år ago

Solved

Free passes for everyone!
_Simply return the name of the coolest numerical computation software ever_ *Extra reward* (get a _freepass_): As an addit...

ungefär 8 år 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:...

ungefär 8 år ago

Solved

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

ungefär 8 år ago

Undefined function or variable 'f'. Error in Pivotare (line 13) f := proc(b, n, m) WHAT TO DO ?
You cannot nest a function definition in the middle of a code. Instead, place the definition of your function proc in the end of...

ungefär 8 år ago | 0

| accepted

How to solve a threedimensional integral of a nested function?
First, I suppose ther should be g(x,y,z) instead of g in the definition of function f. I would solve this by running trapz th...

mer än 10 år ago | 0

Limiting vectors to a certain number of rows
I don't understand exactly what you are asking, bur suppose you have a matrix A and want to perform a function func on it. ...

mer än 10 år ago | 0

why when I use mvrnd to generate random vectors from a multivariate normal I always get small numbers in absolute value ?
The width of the distribution is ruled by the diagonal elements of sigma. If you want larger absolute values, try scaling sigma,...

mer än 10 år ago | 0

| accepted