Community Profile ### shahid ba honar university

Last seen: 約1年 前 2013 以来アクティブ

www.pro-vb-c.mihanblog.com

#### Statistics

All
• • • • • • • • • バッジを表示

#### 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年以上 前 | 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年以上 前 | 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年以上 前 | 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...

8年弱 前 | 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年以上 前 | 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年以上 前 | 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年以上 前 | 0

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

8年以上 前 | ダウンロード 1 件 | 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年以上 前 | 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年以上 前 | 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年以上 前 | 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年以上 前 | 0

| 採用済み

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年以上 前 | 0

| 採用済み

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年以上 前 | 3 件の回答 | 0

### 3

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

9年弱 前 | 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...

9年弱 前 | 0

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

9年弱 前 | 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...

9年弱 前 | 0

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

9年弱 前 | 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...

9年弱 前 | 1

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

9年弱 前 | 1

How to do integration using MATLAB

9年弱 前 | 1

| 採用済み

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

9年弱 前 | 1

| 採用済み

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

9年弱 前 | 0

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

9年弱 前 | 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...

9年弱 前 | 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...

9年弱 前 | 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...

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

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

| 採用済み