Community Profile # reza hamzeh

Last seen: environ 2 ans ago Active since 2019

#### Statistics

• #### Content Feed

View by

Question

how to use crop using coordinate?
hi. i want to crop the red square from this pic using coordinate. lets suppose coordinate of the top-left point of the red squar...

plus de 2 ans ago | 1 answer | 0

### 1

Question

Not enough input arguments error
hi. my code gives me error. plz help me to fix it. what to do? function createfigure(VertexNormals1, ZData1, YData1, XData1, Ve...

plus de 2 ans ago | 0 answers | 0

### 0

Question

what is coordinate of edge of an image?
hi. suppose i have this code. how can i access to coordinate of edge of this image? plz somebody help me. clear; I=imread('te...

plus de 2 ans ago | 0 answers | 0

### 0

Question

Index exceeds matrix dimensions error
hi. plz help me to fix this error. t{1}=0; for n=1:10 if n/2>2 t{n}=t{n}+1 end end % error: Index exceeds...

plus de 2 ans ago | 1 answer | 0

### 1

Question

how to show/hide colorbar by using menu
hi. i want to show and hide a colorbar by using menu. this is my code. it shows the colorbar but it cant hide it. plz help me to...

plus de 2 ans ago | 1 answer | 0

### 1

Question

why matlab gave me 5 eigenvectors for 6*6 matrix?
hi. i wanted to get eigenvectors of a 6*6 matrix. matlab must gave me 6 eigenvectors and 6 eigenvalues but it gave me 6 eigenval...

presque 3 ans ago | 1 answer | 0

### 1

Question

how to fix Summation index error?
hi every body. my codes give me errors. plz help me to fix it. clear; syms x; sy=[0 -1i;1i 0]; s=kron(sy,sy); t=1; de=50;...

presque 3 ans ago | 1 answer | 0

### 1

Question

how to write milburn equation?
hi. i wanted to write milburn equation in matlab. but im not sure that i wrote it exactly. seems i made some mistakes because it...

presque 3 ans ago | 0 answers | 0

### 0

Question

how to get eigenvalues of a function matrix?
hi suppose we have with function H=@(x)[x/2,0,0,0;0,-x/2,x,0;0,x,-x/2,0;0,0,0,x/2]; how to get igenvalues and igenvectors of t...

presque 3 ans ago | 1 answer | 0

### 1

Question

how to make a matrix-function from other matrix-function?
hi. i want to plot the function N. every thing work well except the pa-function. in fact i dont know how to make a matrix-functi...

presque 3 ans ago | 2 answers | 0

### 2

Question

how to get element of a matrix that defined as a function?
hi. suppose this matrix function. how can i get its elements ? for example ha(1,1) dosent work. ha=@(J) [0 J;1 J];

presque 3 ans ago | 1 answer | 0

### 1

Question

how to conver a string to a array or matrix
hi. i have a string. its something like a='[0 1;J 2]' . i want to convert this string to a array. but as u see there is a varibl...

presque 3 ans ago | 3 answers | 0

### 3

Question

Error using * ?
hi. i wrote these codes. but it gives me error. plz help me. how can i fix this error? if handles.plot2.Value==1 var1=...

presque 3 ans ago | 0 answers | 0

### 0

how to make a mini photoshop
plz help me

presque 3 ans ago | 0

Question

how to make a mini photoshop
hi. i wrote some codes to make a mini photoshop. a buttom to upload a pic. a slidbar for changeing brightness and a slidbar for...

presque 3 ans ago | 3 answers | 0

### 3

Question

how to make a perfect table
hi. i wanted to descripe some info of a pic as a table. but i have some problems here. 1- i dont want number in braket. for exa...

presque 3 ans ago | 1 answer | 0

### 1

Question

how to plot a prism
hi. i tried to plot a prism with a n-sides base. i only could plot the 2 bases (for n =8). now i have no idea how to plot the fa...

presque 3 ans ago | 1 answer | 0

### 1

Question

how to plot a cute sphere
hi. i tried to plot a sphere with sphere function. but the sphere was very ugly. and it was more like an ovoid. plz help me to p...

presque 3 ans ago | 1 answer | 0

### 1

Question

plot a defined function
hi people. i wrote two functions. they work correctly. now i want to plot the function N(T) versus T in range 0.1 to 14 . but i ...

presque 3 ans ago | 2 answers | 0

### 2

how to plot a defined function ?
these are the errors. plz help me. Error using / Matrix dimensions must agree. Error in fortest>partialtranspose (line 13...

presque 3 ans ago | 0

Question

how to plot a defined function ?
hi. i coded 2 functions. now i want to plot N(t) versus T. but it gives me errors. plz help me to do that. clear; T=0:0.1:14...

presque 3 ans ago | 1 answer | 0

### 1

Question

how to sum matrices in a for loop
hi every body. suppose the bellow code. this code give me 16 matrices. how can i sum all of this matrices by using these for-loo...

presque 3 ans ago | 1 answer | 0

### 1

Question

how to put/get a matrix from array
hi guys. i have 4 matrixes. i put them in a array. now i want to get the nth matrix from this array. i used B(1) (forexample) bu...

presque 3 ans ago | 1 answer | 0

### 1

Question

how to use Subscript in for loop
hi. i have some mathematica codes that i want to change them to matlab codes. i think its possible to write these codes as two...

presque 3 ans ago | 1 answer | 0

### 1

to plot a introduced function
thank u very much

presque 3 ans ago | 0

to plot a introduced function
for any J and d, co is a number. its not a vector. i want to plot co for 0<d<5 and -1<J<1 but i dont know how to do that. plz he...

presque 3 ans ago | 0

Question

to plot a introduced function
hi. i wrote 4 functions. now i want to plot the forth function but it gives me errors. plz help me to plot it. plot3(C(J,d),J...

presque 3 ans ago | 3 answers | 0