Search Engine **www.edaboard.com**

## Matlab S Function |

Are you looking for?:

fft function matlab , gaussian function matlab , transfer function matlab , dnl matlab function

fft function matlab , gaussian function matlab , transfer function matlab , dnl matlab function

1000 Threads found on edaboard.com: **Matlab S Function**

Dear sir, I use ss2tf **function** in **matlab**. Its output values input to tf2ss **function**. But the result is not equal to the original input. (A1,B1,C1,D1) IS NOT EQUAL TO (A,B,C,D.)
What wrong is it?
clear;
A=;
B=;
C=;
D=;
=ss2tf(A,B,C,D,1);
=tf2ss(num,den);
a1 =

Mathematics and Physics :: 06-14-2011 09:39 :: david753 :: Replies: **1** :: Views: **1868**

Hello, my question should be simple. I wrote a **matlab** **function** which i´m using in a User-Defined simulink block. In this block i want to record the output in a vector, so i declare this vector has an emptys one (like a = ;) and than at every iteration i want to put the output in this vector. I alsoknow the final dimension of the vector, but ese

ASIC Design Methodologies and Tools (Digital) :: 06-14-2011 03:58 :: always84 :: Replies: **0** :: Views: **686**

simulink ports **matlab** code so I don;t see a problem with using symbolics. Unless the **function** is not in your workspace or you have not defined the symbol "x".
without syms x:
another way you could write it is : AOA(i,1)=solve((0.5.*ro(i).*v(i).*v(i).*s.*.1.*(x-alpha0))-(m.*9.81.*cos(x.*pi./180)),x);

Mathematics and Physics :: 06-13-2011 00:03 :: kalyanasv :: Replies: **2** :: Views: **1092**

how can i build a binary random generator in **matlab** and the output 0 and 1 with the same probability?
could you please write the code for me? cuz im a very newbie :P thank you
---------- Post added at 21:39 ---------- Previous post was at 20:35 ----------
i come up with a way to build it
i=1:100;
b=rand(

Digital Signal Processing :: 06-08-2011 16:39 :: chiu :: Replies: **6** :: Views: **915**

Hello,
In terms of encoding RSC .. Can we use coven **function** to encode it? I have **matlab** book that implemented RSC **function** to encode it ..and that confused me :?:
any:idea:?

Digital communication :: 06-08-2011 15:24 :: emma2 :: Replies: **5** :: Views: **2418**

the origin reference paper is:
Phys. Rev. B 60, 2610?2618 (1999)
Scattering-matrix treatment of patterned multilayer photonic structures
i try to reproduce its results using **matlab**.
the first problem is :
no matter which **matlab** **function** 'eig' i use, eig(M) or eig(M,w^2-k,'qz')(because M is an asymmetric matrix), to sove the equa

Electromagnetic Design and Simulation :: 06-02-2011 13:09 :: afack :: Replies: **0** :: Views: **1024**

i design 10th order analog low pass chebyshev filter & i want to plot its group delay versus frequency. i've already plotted using bode command , the phase & mag. response & i know that the group delay is the negative of the derivative of the phase of transfer **function** but how can i plot the group delay on **matlab** ??
thanks in advance !

Analog Circuit Design :: 06-01-2011 13:30 :: Heidi.Eissa :: Replies: **0** :: Views: **1530**

Hi all
I have written a **matlab** **function** to start a global macro 'single_ports' on a cst disign project. Basically it looks like this:
oCSTApp = actxserver('CSTStudio.Application');
oMWSProject = invoke(oCSTApp,'OpenFile',projectname);
invoke(oMWSProject,'RunMacro','single_ports');
**matlab** throws that there's a internal error in CST (...)

Electromagnetic Design and Simulation :: 06-01-2011 08:52 :: thorin :: Replies: **0** :: Views: **1946**

Hi,
While I'm not familiar with the newff() or the Neutral Network Toolbox, I am quite versed in advanced **matlab** programming and would be more than happy to take a look at your project.
Looking at the small code snippet and error messages provided, it would appear to be a formating issue, but without seeing the code in its entirety and data

Digital Signal Processing :: 05-30-2011 14:09 :: bigdogguru :: Replies: **4** :: Views: **2559**

See The Designer's Guide Community Forum - how to estimate the PSD of a complex signal in **matlab**

Elementary Electronic Questions :: 05-19-2011 12:45 :: pancho_hideboo :: Replies: **2** :: Views: **1150**

hi i am really new to **matlab** gui. i have been trying to learn some basics
from the internet but i am still unable to understand **matlab** gui very well. I
do not know how to pass "Values" from one **function** to another.
i have a burning question:
i have made a popupmenu which has a list of videos and a push button.
I would only like to (...)

PC Programming and Interfacing :: 05-18-2011 03:41 :: zener_16 :: Replies: **0** :: Views: **791**

1): I am not sure about it, are you asking how to use the calculator's error **function** ?
2): how about using **matlab** to solve erfc (Error **function**) or to approximate the Error **function** by Taylor series, or iteration method and etc. within the allowable error range?
For the definition of error **function**, you (...)

Digital communication :: 05-10-2011 21:22 :: iamaeag :: Replies: **4** :: Views: **3158**

You can use `assignin` **function** in **matlab** to assign value to variable in specified workspace and then you can use your workspace for simulink model

Digital communication :: 05-09-2011 06:11 :: paresh_saxena :: Replies: **1** :: Views: **2423**

Hi all,
I am using **matlab**'s Rayleighchan **function** to simulate a fading channel. My OFDM system chip rate/Sampling rate = 5.55 MHz, but giving this rate to the **function** will cause an 'Out of Memory' error, so I enter a sampling rate of 4096 Hz and normalize path delays to this by multiplying path delays by 5.55 MHz / 4096 Hz.
My (...)

Digital communication :: 05-08-2011 12:58 :: Ahmed Alaa :: Replies: **0** :: Views: **896**

Hi,
What is the log scale in **matlab** exactly: is it 10 log to the base 10, or just log to the base 10?
Thanks

Digital communication :: 05-05-2011 11:59 :: David83 :: Replies: **2** :: Views: **1559**

in **matlab** ,i wrote a code like this
v=-20:100;
im=(v==0);
b=;
g=conv(im,b)
i get the following error,
??? Error using ==> conv2
First and second arguments must be single or double.
Error in ==> conv at 40
c = conv2(a(:),b(:),shape);
Error in ==> del at 4
g=conv(im,b)
please tell me why...? am i wrong??
thanks i

Digital Signal Processing :: 05-03-2011 04:28 :: electroboy :: Replies: **2** :: Views: **2219**

Hi, Iam new here. i need to draw a triangle (could say random triangle) using M-file **function**. I need to determine 3 lengths and make sure it creates a triangle.
* Sum of 3 angles = 180 degree
or
* Sum of 2 lengths is greater than the third's
Can anyone help pls?

Elementary Electronic Questions :: 04-25-2011 10:05 :: P1a2u3l4 :: Replies: **0** :: Views: **2425**

Q: Write a **function** "xr = sreal(x)" which returns a symbolic expression representing the real (of "ireal(x)" for imaginary) part of x(t). (e.g. x(t) = exp(i*t) + exp(2*i*t)), any clues??
The real and imag **function**s don't return anything useful.
Having crazy problems with this :S
Any/All help well appreciated.

Mathematics and Physics :: 04-19-2011 17:50 :: juvan :: Replies: **0** :: Views: **1166**

hello every body. want to use dsexample4 **function** in delt asigma toolbox **matlab**.
when i run it i must use compile flattenStruct.c and in compile the error get me
`mexErrMsgTxt' undeclared (first use this **function**)
how can i solve these error?

Digital Signal Processing :: 04-19-2011 17:27 :: t_heidari_elc :: Replies: **0** :: Views: **551**

Hello
I need to compare the(7,4) hamming coded bit error probability with the uncoded bit error probabity and a Q **function**.
The **matlab** code which i have compare the theoretial uncoded ber with hamming (7,4) code
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
clear
N = 10^6 ;% number of bits
Eb_N0_dB = ; % multiple Eb/N0 val

Digital communication :: 04-13-2011 17:57 :: Priya1987 :: Replies: **0** :: Views: **4221**

for i=1:2048
temp=dec2hex(i,3);
size(temp)
if(strcmp(temp,addr))
mem(i)=data;
else
mem(i)='000';
end
end
a String data is read in to addr and data and both of length 3......
but it's not working
??? In an assignment A(I) = B, the number of elements in B and
I must be

Digital Signal Processing :: 04-03-2011 02:33 :: blooz :: Replies: **1** :: Views: **1035**

hi
does anybody know how to calculate impulse sensitivity **function** (ISF) for ring,current starved ring and differential ring oscillator in **matlab**.
the formula is given in the ieee research paper "A general theory of phase noise in electrical oscillators". formula no. 38. but i dont know how to calculate the output **function** f(x). (...)

Analog Circuit Design :: 04-03-2011 00:30 :: ppat2006 :: Replies: **0** :: Views: **953**

I want to delay a signal by 1/2 sample period in **matlab**, but the delay **function** block in simulink is all for integer delay. Does anybody know how to realize the 1/2 delay?
Thanks!

Digital Signal Processing :: 04-01-2011 20:16 :: taoly :: Replies: **1** :: Views: **1195**

I encounter a tough problem. There is a system which already shown in impulse response. But I need approach it to a transitional IIT (like ARX structure) . How do I do it in **matlab**? any direct command to do it. thanks a lot.

Digital Signal Processing :: 03-28-2011 21:53 :: taylorsu :: Replies: **0** :: Views: **850**

I am reading a text book and I wanted to use **matlab** to get the same answer as they deerived it in the text. The answer that the **matlab** displayed is not the same as the text, please this is the question, my code with result and the expected result from the text. The problem is getting the same Transfer **function** as it is. Note: Also (...)

Digital Signal Processing :: 03-27-2011 18:43 :: oshaye3 :: Replies: **0** :: Views: **655**

hi everyone ,
i am using **matlab** 2009b xilinx 12.1 with system generator
i found one error for using it
undefined **function** or method 'xlgetpath' for input arguments of type 'char'
please help me to set this ,
thankink you

ASIC Design Methodologies and Tools (Digital) :: 03-26-2011 02:31 :: kumarravi0086 :: Replies: **0** :: Views: **2466**

Digital Signal Processing :: 03-25-2011 09:59 :: cancel :: Replies: **3** :: Views: **1020**

I am designing a 3-order single loop CT Sigma Delta Modultor with RZ DAC.But how can I get the NTF? I can get the NTF of the SDM with NRZ DAC. Mainly, the transfer **function** of z-domain to s-domain can not be transered using **matlab** command d2c or d2cm.Who can tell me the method? Thanks anyway.

Analog Integrated Circuit (IC) Design, Layout and Fabrication :: 03-24-2011 05:34 :: longstar :: Replies: **0** :: Views: **941**

I need to solve a unit commitment and load flow problem using Newton Raphson method which includes a **function** which minimizes the CO2 emmissions. The size of the problem is limited to 30 busses.
I have a set of predefined **function**s one of which solves for the lowest cost. I need to modify it such that it solves for the lowest cumulative CO2 emm

Software Problems, Hints and Reviews :: 03-22-2011 11:24 :: Shan_uoit :: Replies: **0** :: Views: **1687**

hello
i use subs command in my **matlab** programm:
i want to get F in numerical mode,F obtained from integral of f1/f2 in x variable
F=int(f1/f2,x);
I defined all the parameters like f1 and f2 in **matlab** program
but when i use subs command for getting F in numerical mode :
F=subs(F)
it gives me:
80000000/53*x-2189396249847878109458682588450

Elementary Electronic Questions :: 01-27-2011 07:19 :: mina.nms :: Replies: **1** :: Views: **1485**

Dear all,
I am writing a program and I have finished the analogue part and now it is time to convert it to discreet time using appropriate transformation which is bilinear transformation. supposed I want to convert this transfer **function** below to discreet time using bilinear transformation, how can I write it.
H= 1/s^2 + 1.414s+1
p

Digital Signal Processing :: 03-18-2011 14:58 :: oshaye3 :: Replies: **0** :: Views: **1088**

hi.. im designin fir lowpass filter using fdatool... now i got the response n i generated the m file to see my specification which is shown below...
**function** Hd = fir1
%FIR1 Returns a discrete-time filter object.
%
% M-File generated by **matlab**(R) 7.3 and the Signal Processing Toolbox 6.6.
%
% Generated on: 09-Mar-2011 21:56:57
%
% Equ

Digital Signal Processing :: 03-12-2011 20:12 :: digvijay :: Replies: **0** :: Views: **1178**

Hey guys , help me to check this code.. i cant figure out how to make it run .. T.T
Its just to filter out some high frequency in the song file i cut ..
**function** filter_a()
= wavread('cut2');
N = length(song); %length of song is 99093
k=;
f1=k*fs/N;
cf = 2000 ;
n = ;
t = n/cf;
N = length(t);
f = n*cf/N;
hf = [o

Digital Signal Processing :: 03-12-2011 08:51 :: microelectronics :: Replies: **0** :: Views: **1649**

Dear all,
I am trying to arrange this transfer funcion in descending order in order to synchronize with the rest of my code. but it gives me error. look at the results with error. How can I arrange it so that the first order become last TF in the transfer **function** PLEASE SEE BELOW. ANY LOGIC THANKS. I put the code above as well
Code:
den2

Digital Signal Processing :: 03-11-2011 08:16 :: oshaye3 :: Replies: **0** :: Views: **968**

hi
any body knows how to plot impulse senstivity **function**(isf) of 5 stage ring oscillator in **matlab**.
for eg. f=vout=sin(t) for colpitts oscillator so isf=(first derivative of f)/(first derivative square+square of double derivative of f). using his i can plot for colpitt
similarly, f= sin(t)+sin(3t)/3+sin(5t)/5+sin(7t)/7+sin(9t)/9 for

Analog Integrated Circuit (IC) Design, Layout and Fabrication :: 03-06-2011 11:26 :: ppat2006 :: Replies: **0** :: Views: **574**

Hello,
Can anybody tell me how to find an ambiguity **function** of an LFM radar pulse using fft? I am trying to form the ambiguity diagram with doppler shift and time delay in the axises. But I need to do it using FFT blocks.
Any help is appreciated!

Digital Signal Processing :: 03-05-2011 03:00 :: hoz :: Replies: **0** :: Views: **2276**

I am creating a gui in **matlab**. How to implement a high pass filter in it?
Can anyone please help me?

Elementary Electronic Questions :: 03-02-2011 02:30 :: anupama385 :: Replies: **7** :: Views: **760**

You can buy color sensor IC's like this one : Color Light Sensor - Avago ADJD-S371-Q999 - SparkFun Electronics
or you can use a camera and process the image using programs alike **matlab** OCTAVE etc..
The simplest method is to use LDRs covered by color filters. This is really cheap but may not be very acc

Microcontrollers :: 02-27-2011 12:37 :: exnol :: Replies: **4** :: Views: **977**

Hi everybody,
I have to save a **matlab** vectror 1x256 in a text file.
I'm trying with save **function**, is this the right way?
thanks

Digital Signal Processing :: 02-22-2011 04:41 :: english_style :: Replies: **1** :: Views: **1299**

Hi i want to that is my attachment is a digital bandpass filter 16hz-3khz.
In my attachment myfilterMain.mdl & myfilter is the analog prototype.
IS myfilter1.mdl is the digital converson of the above Anolog filter????
Please help..
I use "c2d " command to convert transfer **function** from s domain to z domain.

Digital Signal Processing :: 02-20-2011 03:49 :: rabin2801 :: Replies: **0** :: Views: **1170**

First up, that not really a square wave, a square wave should have equal low time as high time, or a least a constant duty cycle.
you wave is low for 30, high for 30 and then low for 40? are you sure this is what you want?
the typical way to generate real square waves is something like:
x = 0:0.1:100;
y = double((mod(x,60) > 30));

Digital Signal Processing :: 02-16-2011 14:44 :: allsey87 :: Replies: **2** :: Views: **11460**

Dear all,
I am trying to find a way calculate my componet values from first order section of my Transfer **function**. How can I manipulate the code in **matlab** to calculate the first order section. I put the code below and the results with error. This is 3rd order. Any response is highly appreciated.
code:
pp1=p{1}(1)/p{1}(3);pp2=p{1}(2)/p{1

Digital Signal Processing :: 02-10-2011 18:27 :: oshaye3 :: Replies: **0** :: Views: **619**

i am workeing on equalization of ofdm.
i created a channel object using rayleighchan() **function** in **matlab** but i dont know how to obtain channel coefficent using above command. plz help

Digital communication :: 02-18-2010 06:10 :: BhaskerGupta :: Replies: **1** :: Views: **1534**

I need help in voice recording and mixing etc using **matlab**. can someone suggest some book or manual for that??

Digital Signal Processing :: 02-03-2011 08:53 :: ahsannaeem23 :: Replies: **1** :: Views: **708**

I have used a **matlab** file named arena.m.. In this file i have used many variables(orientation,centroid...). i have called for 3 **matlab** files blue.m,yellow.m,black.m from main file arena.m,,,, can u suggest a way to pass arguments to files blue, yellow , black and get back the changed values correctly... is ther anyway to do it without arguments??

PC Programming and Interfacing :: 02-03-2011 17:41 :: barathwaj555 :: Replies: **3** :: Views: **1253**

Thanks for these **matlab** files. I was looking for these files to calculate SNR of my Sigma delta ADC.
When I simulate this file I have an error,
"??? Undefined **function** or method 'calcSNR' for input arguments of type 'double'."
**function** calcSNR is not defined..Can you please help me.
Thank you

Analog Circuit Design :: 01-31-2011 11:28 :: naisare :: Replies: **7** :: Views: **5460**

hELLO.
I am using **matlab** =eig(ww);
its returning expected values as required.
But **matlab** is returning unexpected eignvector(taking unexpected values and relation is true) I do not know how these values are coming or i do not know the **function**.
E.g.
if W=;
>> W=;
>> =eig(W)
Eignvector

Digital Signal Processing :: 01-29-2011 05:36 :: irfan_uet :: Replies: **0** :: Views: **769**

suppose i have transfer **function** TF, input r(s), How to obtain Output C(s)
r(s) = sint
TF = 1/(s+0.5)
How to obtain C(s) using M-file using **matlab**?
here input is time varying one. TF is in S-domain.
please help me out:?
Regards
Anand

PC Programming and Interfacing :: 01-28-2011 09:15 :: kalaianand :: Replies: **2** :: Views: **1457**

I have created a GUI in **matlab** for Amplitude Shift Keying so that it would prompt the user to input the binary bit stream, then it would be able to produce the modulated graph and the bit rate and baudrate below.
I have done three months research on the codes and it is successful; Unfortunately something went wrong when i programmed into the GUI

Digital communication :: 01-23-2011 15:17 :: Siva35 :: Replies: **1** :: Views: **673**

hi,
how to code in **matlab** for marcumq-**function** to find the probability of detection in AWGN?

Digital communication :: 01-14-2011 11:53 :: bam96 :: Replies: **0** :: Views: **806**

Last searching phrases:

quarter | irfan1 | recieve max232 | digital analogue | cts and | depletion region | adaptive systems | and isolation and transformer | package parasitic | at89c

quarter | irfan1 | recieve max232 | digital analogue | cts and | depletion region | adaptive systems | and isolation and transformer | package parasitic | at89c