Community Profile

photo

gonzalo Mier


Last seen: 3 mois il y a Actif depuis 2017

Statistiques

All
  • Thankful Level 2
  • Knowledgeable Level 3
  • 3 Month Streak
  • Promoter
  • Community Group Solver
  • Revival Level 1
  • Knowledgeable Level 2
  • First Answer
  • Thankful Level 1
  • Solver

Afficher les badges

Content Feed

Afficher par

A répondu
How can I plot all iterations of my for loop?
Right now, each plot is plotting only one point. To achieve the behavior you want, create the vectors and plot them outside the ...

plus de 3 ans il y a | 1

| A accepté

Question


How to find if a symbolic operation contains a or function?
I'm trying to find if a symbolic equation has the 'or' function or not. I have tried to do this: syms a b has(a|b,'or') % log...

plus de 3 ans il y a | 1 réponse | 0

1

réponse

A résolu


Column Removal
Remove the nth column from input matrix A and return the resulting matrix in output B. So if A = [1 2 3; 4 5 6]; ...

plus de 4 ans il y a

A répondu
How to change the parameters of a loop
figure; for i=1:9 A(((i-1):i)*9+1) = instructions(i) plot(A(((i-1):i)*9+1)) end

plus de 4 ans il y a | 0

A répondu
Setting pixel to maximum color values in grayscale image.
You can use uint8 to saturate all the values between 0 and 255. You can test it as: gray_as_RGB = uint8(repmat(grayimg, [1 1 ...

plus de 4 ans il y a | 0

A répondu
How to solve this question?
Oh, a really interesting problem. Lets try to solve it as easy as possible... Lets propose some ideas: Sum two constant numbe...

presque 5 ans il y a | 0

A répondu
Standard deviation of decimal numbers
The error you are obtaining is less than 1e-15, which is 0 in practice. If you want to consider this case, you can use a thresho...

presque 5 ans il y a | 1

A répondu
Norm function for 2 variables
n = norm(v) returns the Euclidean norm of vector v. This norm is also called the 2-norm, vector magnitude, or Euclidean leng...

presque 5 ans il y a | 0

A répondu
PARFOR Transparency violation error
Parfor loop don't work in GPU, it just multithread your CPU code, so you have to be careful with the variables you use because a...

presque 5 ans il y a | 0

A répondu
What is the fastest way to compute the first eigenvector?
Read about eigs

presque 5 ans il y a | 0

| A accepté

A répondu
Why do i get a blank graph?
You are computing v1 as k1= 0.8*exp(-Ea1/(alpha*R*X(3))); v1=k1*A*X(1); v1 is a matriz of size 1x1. So when you do plot( "v...

presque 5 ans il y a | 0

| A accepté

A répondu
How to import a 3D Python numpy array into Matlab ?
https://stackoverflow.com/questions/10997254/converting-numpy-arrays-to-matlab-and-vice-versa

presque 5 ans il y a | 0

A répondu
Is it possible to do multiple array of data on the same scatter plot;
Scatterplot is a really special function that needs a special syntax to plot more that one scatterplot together. If you need mo...

presque 5 ans il y a | 1

| A accepté

A répondu
could anyone help me to solve my question
You don't need if here. You can mix them as: C = B; len_A = min(size(B,1),size(A,1)); C(1:len_A,:) = C(1:len_A,:) - A(1:len_...

presque 5 ans il y a | 0

A répondu
How do I create a matlab function using polyder that not only gives the coefficients but also gives the equation
I think you need here the function poly2sym: https://www.mathworks.com/help/symbolic/poly2sym.html

presque 5 ans il y a | 0

| A accepté

A répondu
Needs derivative w.r.t. ' y ' & then graph w.r.t ' t '
diff is a function of the symbolic package, so when you try to derivate U, you are derivating a constant, and by a constant, so ...

presque 5 ans il y a | 0

| A accepté

A répondu
Extracting histogram each row of matrix
Read histogram

presque 5 ans il y a | 0

A répondu
Matlab plots y axis values in plot for array of x arrays
There is no problem here. Matlab is doing what you want. The problem that you see may be because you have one row that is in a l...

presque 5 ans il y a | 0

| A accepté

A répondu
how can i make histogram without missing value(with nan,isnan)
You can remove nan before computing the histogram histogram(ws(~isnan(ws(:))))

presque 5 ans il y a | 1

| A accepté

A répondu
How to get string field from struct with each element separated
The problem is you are using char instead of string. '1.33' is a vector of char, so if you make a vector of vectors, it compiles...

presque 5 ans il y a | 0

| A accepté

A résolu


Check if number exists in vector
Return 1 if number _a_ exists in vector _b_ otherwise return 0. a = 3; b = [1,2,4]; Returns 0. a = 3; b = [1,...

presque 5 ans il y a

A résolu


Divide by 4
Given the variable x as your input, divide it by four and put the result in y.

presque 5 ans il y a

A résolu


Reverse the vector
Reverse the vector elements. Example: Input x = [1,2,3,4,5,6,7,8,9] Output y = [9,8,7,6,5,4,3,2,1]

presque 5 ans il y a

A résolu


Swap two numbers
Example Input: a = 10 b = 20 Output a = 20 b = 10

presque 5 ans il y a

A résolu


find the surface area of a cube
given cube side length x, find the surface area of the cube, set it equal to y

presque 5 ans il y a

A résolu


Vectors counting by 2
Create a vector numbers from 7 to 15 in increments of 2

presque 5 ans il y a

A résolu


Min of a Matrix
Return the minimum value in the given matrix.

presque 5 ans il y a

A résolu


factorial of a number x
Factorial of a number x

presque 5 ans il y a

A résolu


Counting down
Create a vector that counts from 450 to 200 in increments of 10.

presque 5 ans il y a

A résolu


Basic arrays operations.
Apply element-by-element binary operation 'fun' to two arrays (A and B).

presque 5 ans il y a

Charger plus