Question

mesh from 1D (creating a matrix from a vector)

Hello, I have a vector A[-3:0.003:3] and a vector B whose values corresponding to those of A. I plotted B as a function of A...

8 years ago | 1 answer | 0

Question

How to calculate FWHM of non gaussian curve?

Hello, I would like to measure the FWHM of curve non gausssian and non lorentzian. Any idea, Thank you in adavance, ...

8 years ago | 0 answers | 0

Question

How to turn a single vector into matrix in order to have mesh or 3D

Hello all, I plotted a vector H versus a vector r. its possible to have a plot 3D, i.e H as a function of x and y. r^2=x^2+y...

8 years ago | 1 answer | 0

Answered

Condition if on the elements of matrix in two For loop doesn't work

Hello all, Jan, Aziz, Andrei, Thank you very much for your help and suggestions. My code is all right now!! I could debug it....

Condition if on the elements of matrix in two For loop doesn't work

Hello all, Jan, Aziz, Andrei, Thank you very much for your help and suggestions. My code is all right now!! I could debug it....

8 years ago | 0

Question

Condition if on the elements of matrix in two For loop doesn't work

Dear all, I posted my problem there is some days ago but I'didn't recieve a right answer. In my code, I use two for loops with...

8 years ago | 3 answers | 0

Question

Double for loop is a problem ??? Any help, I can't find the right results when using the second for loop!!!!!

Hello, I have to use two for loops in my code to calculate the matrix c, xp and yp. The first one concerning the parameter rr an...

8 years ago | 0 answers | 0

Question

I would like find a matrix from a row and column vectors

Hello, I have a column vector xxb of 201 elements and a row vector rr of 501 elements and I would calculate c =xxb^2+rr^2-R^2 ...

8 years ago | 2 answers | 0

Answered

I would like find a matrix from a row and column vectors

Hello Honglei, Thank you for your answer. I managed finally to obtain my matrix using for loop. The aim of this code is to f...

I would like find a matrix from a row and column vectors

Hello Honglei, Thank you for your answer. I managed finally to obtain my matrix using for loop. The aim of this code is to f...

8 years ago | 0

Question

diff of order n around a point x0

Hello, I would like to calculate the derivative of order n of function f with respect to x aaround a point x0. diff(f,x,x0...

8 years ago | 1 answer | 0

Question

calcul of Taylor approximation+ sum using syms

Here below my program. I would like to calculate the taylor approximation of R near kx0. and woul like to calculate the sum of s...

8 years ago | 1 answer | 0

Question

compose

Can we use compose -functional composition with column vectors instead of function?

9 years ago | 1 answer | 0

Question

interpol1 or composite function

I have two vectors A and B. I plotted B versus of the A. I have a function C as a function of a parameter d. I plotyed (d,C...

9 years ago | 1 answer | 0

Question

link between two codes

How can I do the link between two codes (two files). I explain, i'd like use (call) all the data and all the results obtained ...

9 years ago | 1 answer | 0

Question

composite function

Hello, I have three vectors A, B and C. I plotted A as a function of B (B=0:0.01:1; and I have the values of A correponding)....

9 years ago | 1 answer | 0