# Pourya Alinezhad

### shahid ba honar university

www.pro-vb-c.mihanblog.com

Professional Interests: FPGAs,HDL programming, signal processing,statistical signal processing,adaptive filters,Radar,phased arrays,

**Statistics**

RANK**985**

of 247,402

REPUTATION**52**

CONTRIBUTIONS

**1** Question

**39** Answers

ANSWER ACCEPTANCE **
100.0%
**

VOTES RECEIVED**11**

RANK**7,581** of 17,240

REPUTATION**98**

AVERAGE RATING**4.00**

CONTRIBUTIONS**2** Files

DOWNLOADS **5**

ALL TIME DOWNLOADS**934**

CONTRIBUTIONS**0 Posts**

CONTRIBUTIONS**0** Public Channels

AVERAGE RATING

CONTRIBUTIONS**0** Highlights

AVERAGE NO. OF LIKES

**Content Feed**

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','...

7 years ago | 1

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 ...

7 years ago | 1

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...

7 years ago | 0

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...

7 years ago | 0

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...

8 years ago | 0

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 ...

8 years ago | 0

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...

8 years ago | 0

Submitted

Orthogonal Designs With Maximal Rates

a code for producing orthogonal codes used in wireless networks.

8 years ago | 1 download |

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)

8 years ago | 3

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...

8 years ago | 0

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...

8 years ago | 0

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...

8 years ago | 0

| accepted

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

8 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 ...

8 years ago | 3 answers | 0

### 3

answersServo 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...

8 years ago | 0

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...

8 years ago | 0

Can I connect 2 PID on a switch ?

use a de-multiplexer to separate them and use them individually.

8 years ago | 0

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

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

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

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

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

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

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

Tracking mouse position on figure

you can use the function [x,y] = ginput(4)

8 years ago | 0

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

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

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

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

Is it possible to combine strings and variables in a matrix?

disp(['rate:',num2str(rate),'duration:',num2str(duration)])

8 years ago | 1

| accepted