Community Profile

# Vaclav Rimal

### Charles University, Faculty of Mathematics and Physics

Last seen: oltre 3 anni fa Attivo dal 2013

All

#### Content Feed

Visto da

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

quasi 7 anni fa | 0

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

circa 7 anni fa | 0

Risolto

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

oltre 7 anni fa

Risolto

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

oltre 7 anni fa

Risolto

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

oltre 7 anni fa

Risolto

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

oltre 7 anni fa

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

oltre 7 anni fa | 0

| accettato

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

quasi 10 anni fa | 0

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

quasi 10 anni fa | 0

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

quasi 10 anni fa | 0

| accettato

Risposto
Passing Matrix using call by reference
To really take the advantage of handle class, you would need to create your own class based on the class handle. Create a file c...

quasi 10 anni fa | 2

| accettato