Community Profile

photo

Habib


Last seen: 12 months ago Active since 2014

Followers: 0   Following: 0

Message

Statistics

  • First Review
  • Thankful Level 3

View badges

Feeds

View by

Question


How to set different marker for some different values?
Hi, I have a 2D matrix. I want to set different markers for some different values. How it possible? for example: x=linspace(1...

3 years ago | 1 answer | 0

1

answer

Question


How plot a figure like this attached figure?
Hi, I have some laser beam amplitude profile and I want to plot this profiles like follow fig in matlab. infact, I have trie...

4 years ago | 1 answer | 0

1

answer

Question


Extract the X and Y values of curve in image
Hi every one. I have an image like this I want to extract X and Y curve values. Unfortunately it's .fig file was lost. I hav...

4 years ago | 2 answers | 0

2

answers

Question


How to fix this error?
I tried to run below script but "The grid vectors do not define a grid of points that match the given values." error is appeare...

7 years ago | 2 answers | 0

2

answers

Question


I got error in plotting
Hi everyone, I tried to plot a figure by contour command and after I defined a set command for make changing on K values but ...

8 years ago | 1 answer | 0

1

answer

Question


how to normalization of y axis?
Hi, I plot a figure that its y-axis limit is so greater than another figure, when I make a comparison. under figure i...

8 years ago | 2 answers | 0

2

answers

Question


How to product two vector with difference sizes?
Hi, I need to product two vector as Ta and r1 but I got error (In an assignment A(I) = B, the number of elements in B and I ...

8 years ago | 1 answer | 0

1

answer

Question


How it is possible to find the eigenvalues of a 2*2 matrice without using of eigen function?
Hi every one, I tried to fine eigenvalues of 2*2 A matrix with det(A-landa*I) and my script is follow as: clc clear all...

8 years ago | 1 answer | 0

1

answer

Question


How summation of two matrix so that one element of A matrix summed with B matrix and save in M(1,1)?
Hi every one. I want to make summation of two A and B matrices so that one element summed with all elements of B matrix and s...

8 years ago | 2 answers | 0

2

answers

Question


how plot amplitude of mode from eigenvector?
Hi every body. For solving an integral (this integral is Huygens Fresnel integral and it is useful for find modes of a laser ...

8 years ago | 0 answers | 0

0

answers

Question


How it is possible to sum these two matrix as a vector?
Hi guys. I'd like to write summation these two matrix as two vectors that defined as C1 And C2 .For writing a program for it ...

8 years ago | 2 answers | 0

2

answers

Question


How can define a vector?
Hi every one. I want to define below vector: V=x*i+ y*j (where "i" and "j" are unique vectors and "x" and "y" are matrix c...

8 years ago | 0 answers | 0

0

answers

Question


Problem in numerical integration
Hi every one. I want to by means of "Trapz" do numerical integration but when I plot the result data, its shape is not what ...

9 years ago | 0 answers | 0

0

answers

Question


why result is zero?
Hi everybody. In second "for" nesting loop, I want to use Trapz command (numerical integration) for integration from an N*N mat...

9 years ago | 1 answer | 0

1

answer

Question


why I got zero answer?
Hi everyone. In below codes I used the trapz command for integration of u1_1, but answer is zero, what is wrong? And if I wan...

9 years ago | 3 answers | 0

3

answers

Question


plot the power of laser respect to iteration number
Hi every one I need an opinion or example to plot a power of a laser respect to iteration number. suppose a laser do 50 ro...

9 years ago | 1 answer | 0

1

answer

Question


How do I use of "trapz" for numerical integration?
Hi everyone. I tried to use of "Tarpz" command for numerical integration and I use of "Meshgrid" command for make a matrix.in f...

9 years ago | 1 answer | 0

1

answer

Question


Undefined function or method 'H' for input arguments of type 'double'.
Hi guys. Why does the following error comes? what is wrong? ??? Undefined function or method 'H' for input arguments of ty...

9 years ago | 1 answer | 0

1

answer

Question


plot three dimensional surface for this code
Hi every one. I decided to plot three-dimensional surface for u3 but when i wrote mesh(r4,u3), the error of " Z must be a m...

9 years ago | 1 answer | 0

1

answer

Question


reason of getting zero answer
I write below code for solve diffraction integral by trapz order but in final I have got zero answer for u2. what is problem? p...

9 years ago | 1 answer | 0

1

answer

Question


Double integration with trapz
Hi everyone! I'm new in matlab,and I'd like using from trapz for solve this equation: exp(r1.*r2)over on the r1 and r2; but I ...

9 years ago | 1 answer | 0

1

answer