Community Profile

photo

Nicolas


Universities Space Research Association

Active since 2011

Statistics

  • Thankful Level 3

View badges

Content Feed

View by

Answered
import text file in loop
Answer to automatically build 'formatSpec' using the import function created by Matlab. A = repmat('%s',1,201); B = '%[^...

6 years ago | 0

| accepted

Question


import text file in loop
Hi, I'm creating text files from another program that I want to import into Matlab. I have been using the import wizard matlab ...

6 years ago | 1 answer | 0

1

answer

Question


plot 3 distinct parameters in 3D
Hello, I have three distinct vectors of same length: X,Y,Z I would like to create a 3D plot similar to a histogram but the h...

7 years ago | 1 answer | 0

1

answer

Question


dimension mismatch with growing char matrix
Hello, I have in a loop Name_Pairs growing Name_Pairs(1,:) = sprintf('%s%d','p',10) then Name_Pairs(2,:) = sprin...

7 years ago | 2 answers | 0

2

answers

Question


how to find duplicates in a structure
Hello, I have a structure 'variable2' containing 15 fields: BoundCoord1 to BoundCoord15. Each field is a 2x2 matrix containi...

7 years ago | 1 answer | 0

1

answer

Question


find length of a field within structure and specific values
Hello, I create a structure using the script below. I would like to know how can I find the length of each field and how can ...

7 years ago | 2 answers | 0

2

answers

Question


reconstruct matrix from vector coordinates
Hello, I have 3 vectors (x,y,data) each equals 1x6358. How can I recreate the matrix DATA based on the indices x and y? Thank...

7 years ago | 2 answers | 0

2

answers

Question


create a filename with cell
Hello, I would like to create different filenames inside of a loop using cell inputs and I was wondering what function I could ...

7 years ago | 1 answer | 0

1

answer

Question


plot same column from different matrices on the same figure
I have 2 matrices A and B both 9x5 I would like to simplify the loop figure, hold on for i = 1:5 scatter(A(:,i),B(...

8 years ago | 1 answer | 0

1

answer

Answered
transform a radius into a circle
here is the solution: %% Example data x = (2:0.1:8); data = sin(x); %% Shift the values towards the center, so...

9 years ago | 1

| accepted

Question


transform a radius into a circle
<</matlabcentral/answers/uploaded_files/23092/plot%202D%20mesh%20from%20line.jpg>> I have some data along a line in a Cartesi...

9 years ago | 3 answers | 0

3

answers

Question


create a loop using regexp
I have imported a bench of text file into MATLAB using list_files2load = dir(fullfile(directory1,'Mod1*)); In those fi...

9 years ago | 2 answers | 0

2

answers

Question


How can I select specific text files ?
I have imported a bench of text file into MATLAB using list_files2load = dir(fullfile(directory1,'Mod1*)); But then in...

9 years ago | 2 answers | 0

2

answers

Question


extend and smooth a digital elevation model
Hello, I'm looking for a way to extended my digital elevation model in the x and y direction, and in the same time to smooth ...

10 years ago | 0 answers | 0

0

answers

Question


find a specific file
Hello, I have different data on a similar numerical model stored in text with similar but different names. What I want to ...

10 years ago | 2 answers | 0

2

answers

Question


give the matrix a name
Hi, I import some text files, and i extracting just the number from each text file and I want to save the matrix with the sho...

10 years ago | 2 answers | 0

2

answers

Question


unique
Hi, I have a matrix (1000*6). I want to delete duplicate rows. Then I want to know which row have been deleted since I have a...

12 years ago | 1 answer | 0

1

answer

Question


transparency
Hi, I'm drawing a black circle on top of a rose diagram. I'm trying to set that circle half transparent circle=area(X,Y...

12 years ago | 1 answer | 0

1

answer

Question


rose diagram
Hi, I'm plotting rose diagrams using the function rose. I would like to have the outer circle of my rose diagram to be repres...

12 years ago | 1 answer | 0

1

answer

Question


voronoi within a pre-defined area
Hi I asked a question couple of weeks ago concerning the generation Voronoi polygon within a closed area. but I’m still stuc...

12 years ago | 2 answers | 0

2

answers

Question


roipoly
Hi, I would like to know if it is possible to create a ROI on a current figure. x=[1 2 3 4 5 6]; y=[7 8 9 10 11 12]; ...

12 years ago | 1 answer | 0

1

answer

Question


Voronoi within a pre-defined area
Hi folks, I would like to calculate the voronoi of a point population but only within the convex hull of that population of poi...

12 years ago | 0 answers | 0

0

answers

Question


matrix manipulation
Hi, I would like to transform a matrix (5005*3) into a (165*91). Moving packets of lines (for example (92:182,1:3) and (183:2...

12 years ago | 1 answer | 0

1

answer

Question


generate sequence
Hi, I'm stuck with a problem trying to generate sequences with points having different possible positions within that sequenc...

12 years ago | 4 answers | 0

4

answers

Answered
XGrid
ylim=ylim(subplot(4,5,j)); yMinor=linspace(ylim(1),ylim(2),length(s(:,1))); p=zeros(1,length(s(:,1))); plot(p,yMinor,'-...

12 years ago | 0

Question


XGrid
Hi, I'm looking to set up the Xgrid on but only for the zero value, i wrote that set(gca,'XTick',0,'XGrid','on') but only...

12 years ago | 2 answers | 0

2

answers

Question


Plot on different figures during a loop
Hi, I'm extracting from different files some data that have ot plot on the same plot, I use a loop like figure, hold on ...

12 years ago | 3 answers | 4

3

answers

Question


text file dlmwrite fprintf save
Hi, It might be another question on this subject.. but i'm confused saving text files. i have a basic code with data(2,49)...

12 years ago | 2 answers | 0

2

answers

Question


scatter3 in log-log-log
Hi, I was wondering it was possible to generate a scatter3 plot but with one, or two or the three axis in log? Thanks n...

12 years ago | 2 answers | 0

2

answers

Answered
saving or not matrices
Actually I found that way barycenter(barycenter(:,:)==0)=NaN; %replace zeros with NaN if isnan(barycenter(1:1))<1 Name...

13 years ago | 0

Load more