Community Profile

photo

Pourya Alinezhad


Last seen: 1 day ago

shahid ba honar university

61 total contributions since 2013

www.pro-vb-c.mihanblog.com
Professional Interests: FPGAs,HDL programming, signal processing,statistical signal processing,adaptive filters,Radar,phased arrays,

Contact

Pourya Alinezhad's Badges

  • First Review
  • 5-Star Galaxy Level 1
  • First Submission
  • 3 Month Streak
  • Thankful Level 1
  • Revival Level 1
  • Knowledgeable Level 2
  • First Answer
  • Solver

View details...

Contributions in
View by

Answered
How to delete rows of characters in Text files?
hi there, u can use the following lines of code: fid=fopen('txtfile.extention'); textdata=textscan(fid,'%n%n%n%n%n%n','...

6 years ago | 1

Answered
binary matrix that has different orders of 0 and 1
hi, you can easily construct the matrix using: A=zeros(size^2,size) where "size" is column number of the matrix. then ...

6 years ago | 1

Answered
How to separate signals with diffrent frequencies
1-you can use several filters with different center frequencies (chebishev or butter filter) h = fdesign.bandpass('N,F3dB1...

6 years ago | 0

Answered
How to draw 3-D plots in MATLAB
actually transfer function H(s) has a response which could be plotted on a 2D diagram.the vertical axis corresponds to the magni...

6 years ago | 0

Answered
How to put a user designed function in a simulink block
there is a block in simulink which accepts codes.... return values of function are block outputs and the inputs are function arg...

7 years ago | 0

Answered
Define matrix in MATLAB with 0s and 1s
define a vector as : a= [1 1 1 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 ...

7 years ago | 0

Answered
How do I set up constrained optimization
hi i work on phased arrays. i exactly know what do you want... download the user guide and review the first 100 pages. you wil...

7 years ago | 0

Submitted


Orthogonal Designs With Maximal Rates
a code for producing orthogonal codes used in wireless networks.

7 years ago | 2 downloads |

Thumbnail

Answered
Solving a Nonlinear Equation using Newton-Raphson Method
you can use the following line of code; x = fzero(@(x)x.^3 - 0.165*x.^2 + 3.993*10.^-4,0.05)

7 years ago | 3

Answered
How can i correct Newton rhapson method??
the algorithm should be like this pseudo code... function out = Newton(f,fprime,xstart,tol) xold = xstart; xnew = xol...

7 years ago | 0

Answered
How can i correct Newton rhapson method??
you may use somthing like this : while abs(xold -xnew) > tol xold = xnew; xnew = xold - feval(f,xold)/feval(fprim...

7 years ago | 0

Answered
I WANT TO EXTEND MY GRAPH WITHOUT DISTURBING THE MATRIX PLOT
the x vector you mentioned actually goes through the y axis... and in the black and white graph the x axis have a rank from 1 to...

7 years ago | 0

| accepted

Answered
3 matrix in a loop
a=[1 2;4 6] b=[5 6;8 7] c=[5 8;8 5] d={a b c}; for i=1:3 x=sin(cell2mat(d(i))) end

7 years ago | 0

| accepted

Question


how can i map a surface on a shape?
hi there i am working on phased arrays.there is lot's of antennas on a predefined lattice.now i want to map the lattice grid ...

7 years ago | 3 answers | 0

3

answers

Answered
Servo control, using Matlab
hi, my Bs graduation project was "implementing a PID controller on FPGA and controlling a servo motor" you can find useful exa...

7 years ago | 0

Answered
Smoothing Spline curve fitting - Equation?
yes.there is a program named "data_from_graph_1v0" which can do the job for you. provide a mail address so i could send it to U...

7 years ago | 0

Answered
Can I connect 2 PID on a switch ?
use a de-multiplexer to separate them and use them individually.

7 years ago | 0

Answered
Need half of my contour plot
hello maryam, run following lines of code. x=0:0.1:10; y=x; j=1; z=meshgrid(x,y); h=ones(length(x),l...

8 years ago | 0

Answered
How do you creat one large text file?
load all mini text.then save the total workspace in a new text file .

8 years ago | 0

Answered
An elegant alternative to nested for loops for plotting simulations
hi. do not use HOLD ON command. you can compute and save your data in another matrix.then plot the whole data generated at once...

8 years ago | 1

Answered
Fading channel coefficient calculation
hi, for generating Rayleigh channel we can code as below: h1=sqrt(0.5)*(randn+1i*randn)*(1/sqrt(2...

8 years ago | 1

Answered
How to do integration using MATLAB
instead of using symbolic math you can use numerical integration . function answer=myfunction(T) %* Labatto quadr...

8 years ago | 1

| accepted

Answered
Eye diagram: Redefining a variable?
the code dose not work on my pc. because prz and psin ,... functions are not provided with the code. following code: yrz...

8 years ago | 1

| accepted

Answered
try/catch in gui
just check the input box you created in GUI for numbers below desired value.if input number was bigger than upper bound you can ...

8 years ago | 0

Answered
Tracking mouse position on figure
you can use the function [x,y] = ginput(4)

8 years ago | 0

Answered
Solving wiener hopf equation for optimal filter coefficients
the problem you are facing is how to choose the length of the filter M. in the absence of a _priori_ information ,we compute th...

8 years ago | 1

Answered
Variable electrical load in a network
simultaneously use constant load and variable one in a submodel,see if you can construct your load model with linear or none lin...

8 years ago | 0

Answered
how to create customized curve ( only know the shape )
yes...there is a programme which accepts images and returned data... named "data_from_graph_1v0" it's about 300kb and i can ma...

8 years ago | 0

Answered
Print number as .0000000E+00
fprintf('%1.5s',0.1) 1.5 stands for 5 decimal places.1 is for full number. s==scientific you could easily find a way to thi...

8 years ago | 0

Answered
Is it possible to combine strings and variables in a matrix?
disp(['rate:',num2str(rate),'duration:',num2str(duration)])

8 years ago | 1

| accepted

Load more