Community Profile # Auryn_

Active since 2015

#### Statistics

• • #### Content Feed

View by

Question

Using the function fmincon
Hi, I want to optimise a function that I called FUNCTION where function [Err]=FUNCTION(coef) data1=... ...

4 years ago | 2 answers | 0

### 2

Question

Non linear function for an optimal control problem
Hi, This is a typical optimal control problem. I want to look for the function that gives me the best shape to go from an ...

4 years ago | 1 answer | 0

### 1

Question

Use files from iCloud Drive on Matlab
Hi, I have stored my matlab data on the iCloud Drive but I cannot find it when using Matlab. Coudl you please help me? Tha...

4 years ago | 1 answer | 1

### 1

Question

Plot - show fitting error
Hi, Starting with a set of data points, I use a fitfun function to fit it to a nonlinear scaling function A^x. Now, I would li...

4 years ago | 1 answer | 0

### 1

Question

Mean/average of a variable
Hello, I have a variable P(a,b,c) where a=2, b=1:150,c=1:100. Now, for each value of c, I want to calculate the mean of P: ...

4 years ago | 2 answers | 0

### 2

Question

I cannot see the eps files saved
Hi, I have some 2D plots I did using the function pcolor and saved them as .eps files. When I try to open them with Preview (I...

4 years ago | 0 answers | 0

### 0

Question

How to fit curve to see the scaling
Hi, I would like to see the scaling (\alpha) of my curve f(x,y): x^\alpha Thus, I need to fit my data to a curve but I cannot...

4 years ago | 1 answer | 0

### 1

Question

Legend in several columns
Hi, Every time I wanted to split my legend into more than one column I always used the function "columnlegend". Now i am cre...

5 years ago | 1 answer | 3

### 1

Question

How to make the sum of all elements?
Hi, M=10; I have a matrix M=mxn and I want the sum of all elements, for n and m from 1 to 10. My question is why this: f...

5 years ago | 1 answer | 0

### 1

Question

How to show the values are constant inside a cell array
Hi, I have a cell array that is 4x6. Inside each cell I have 1x31 values. I am studying the change of my variables in time...

5 years ago | 1 answer | 0

### 1

Question

Select specific values inside a cell
Hi, I have a cell array that is 4x6. Inside each cell I have 1x31 values. I would like to access in each cell just the la...

5 years ago | 1 answer | 0

### 1

Question

Columnlegend not working when plotting with errorbar
Hi, I am trying to plot multiple lines with the function errorbar (it works). Then I want to use multicolumn for the legend,...

5 years ago | 0 answers | 0

### 0

Question

Plotting error bars in different scale?
Hi, I plotted the following: x = 1:5; y = 100*[0.2466 0.2195 0.1976 0.1796 0.1663]; err = 100*[0.0523 0.0494 0.0469 ...

5 years ago | 1 answer | 0

### 1

Question

Average and error bars in Matlab for a complex array
Hi, I have a function M that is an 4-D complex variable of dimensions a*b*c*d. Now I want to average over the last dimensi...

5 years ago | 1 answer | 0

### 1

Details on surf plot
Now the second part of the question: can I add labels on the lines orthogonal to the X axis? Cheers!

5 years ago | 0

Question

Details on surf plot
Hi, I have a 3D plot that I generated with this code: a= linspace(0.8,1.2,12); surf(a,1:59,abs(Z_data),'FaceColor' , ...

5 years ago | 3 answers | 1

### 3

Plot in log-log
Awesome, thanks!

5 years ago | 0

Question

Plot in log-log
Hi, I am plotting in a log-log scale but the axis label does not display the numbers in a log scale. I have used lo...

5 years ago | 2 answers | 0

### 2

Question

Plot 3D array
Hi, I have a cell array of 1x10 (variable k) where each of the 10 arrays are matrices of 80x31. Now I want to make a 3D p...

5 years ago | 0 answers | 0

### 0

Question

How to access data in a cell array
Hi, I have a cell array of 1x10 where each of the 10 arrays are matrices of 80x31. If I want to access the data of each of t...

5 years ago | 3 answers | 1

### 3

Decimal numbers in a triple for loop
Hi, now it seems to work! M=10; q = 0.1:0.1:1; n_pmT=zeros(length(q),1); n_pm=zeros(M,M,length(q)); for i...

5 years ago | 0

Question

Decimal numbers in a triple for loop
Hi all, I want to run the equation for a range of q variables at an increment such as q = 0.1:0.1:1; I need to use a f...

5 years ago | 2 answers | 0

### 2

Question

Reshape array 3 variables into 2?
Hi, I have an array of A=1x100x50. How can I reshape it in B=100x50? I have tried with B=reshape(A,[100, 50]); B...

5 years ago | 2 answers | 0

### 2

Loop and plot in 2D
Now it works for ik=1:a for l=100-1:-1:0 ij=ik+l if ij > a break; end A(ik,ij...

5 years ago | 0

Question

Loop and plot in 2D
Hi, I have a variable V(a,b,c) where a=1:50 b=a c=1:100 Now I would like to make a loop and plot the fol...

5 years ago | 2 answers | 0

### 2

Question

For loop for the variable and plot
Hello, I have a matrix of correlations between particles (50 particles). I want to compute the correlations between them, at ...

5 years ago | 0 answers | 0

### 0

Question

How to change a plot form 2D to 3D
Hello, I have a plot that I did using the function "pcolor", that is pcolor(X,Y,C). Now I would like to plot the same data in ...

6 years ago | 1 answer | 0

### 1

Question

Subscript indices must either be real positive integers or logicals. How to solve it?
Hi, I know this is asked very often, but still I don't know how to solve it in my case. This is the code: M=4; n =...

6 years ago | 0 answers | 0

### 0

Question

Hello, I am creating a function where I load data from a cell. I give different parameters (a,b,c) each time, like function Fu...

6 years ago | 0 answers | 0