Community Profile # Vaclav Rimal

### Charles University, Faculty of Mathematics and Physics

Last seen: 2 years ago Active since 2013

#### Statistics

All
• • • #### Content Feed

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

6 years ago | 0

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

6 years ago | 0

Solved

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

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

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

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

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

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

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

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

9 years ago | 0

| accepted