Feeds
提问
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...
4 years 前 | 1 个回答 | 0
1
个回答提问
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...
5 years 前 | 1 个回答 | 0
1
个回答提问
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...
5 years 前 | 2 个回答 | 0
2
个回答提问
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 前 | 2 个回答 | 0
2
个回答提问
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 前 | 1 个回答 | 0
1
个回答提问
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 前 | 2 个回答 | 0
2
个回答提问
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 前 | 1 个回答 | 0
1
个回答提问
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 前 | 1 个回答 | 0
1
个回答提问
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...
9 years 前 | 2 个回答 | 0
2
个回答提问
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 ...
9 years 前 | 0 个回答 | 0
0
个回答提问
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 ...
9 years 前 | 2 个回答 | 0
2
个回答提问
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...
9 years 前 | 0 个回答 | 0
0
个回答提问
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 前 | 0 个回答 | 0
0
个回答提问
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 前 | 1 个回答 | 0
1
个回答提问
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...
10 years 前 | 3 个回答 | 0
3
个回答提问
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...
10 years 前 | 1 个回答 | 0
1
个回答提问
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...
10 years 前 | 1 个回答 | 0
1
个回答提问
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...
10 years 前 | 1 个回答 | 0
1
个回答提问
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...
10 years 前 | 1 个回答 | 0
1
个回答提问
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...
10 years 前 | 1 个回答 | 0
1
个回答提问
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 ...
10 years 前 | 1 个回答 | 0