MATLAB is a commercial numerical computer algebra system

learn more… | top users | synonyms

-3
votes
1answer
31 views

PID controller DC motor Design using simulink [on hold]

After playing the circuit, this circuit is showing the error. Tell me what is error in this circuit and what should be the P, I and D values for PID. ??? in block is not any error. It showing because ...
-3
votes
1answer
41 views

Voice controlled robot [on hold]

Suggest me book name or link to study for voice controlled robot (DSP on matlab for voice recognition). What is the hardware module/ sensor for voice recongnition?
0
votes
0answers
21 views

Modelling Phase noise

I am trying to model phase noise. However, when i apply the fft and see the noisy signal, frequency peak location is changing however the spectrum is not broadening. Can anyone enlighten me what is ...
0
votes
2answers
65 views

applying for loop

I want to apply for loop. Below is my code. I have applied the for loop which is wrong. Here Length(t) is sample numbers. Here I want to create 'for' loop for a sample number 5 in particular. so how ...
0
votes
0answers
36 views

Why magnitude of FFT analysis is crossing border? [closed]

I'm facing problem in determining the reason for magnitude of FFT analysis graph crossing max value.
0
votes
0answers
35 views

Need help with getting 95% ellipse area of 2D PSR plot [closed]

So I have been referring to the method of obtaining this as outlined in this paper (pg 4 - 5). I have implemented the following matlab code to obtain it: ...
1
vote
2answers
72 views

How to model Phase noise?

I want to model phase noise. Code below shows how I am adding phase noise in the signal. However, i am not getting correct output. That means, the signal sprectrum shoud be spreading in the frequency ...
-2
votes
0answers
33 views

Engineering notations in Matlab

Can I make Matlab to accept my inputs in engineering notations similar to what SPICE accepts. Ex. we can assume a value of resistor to be 1K in SPICE which is equal to 1000 similarly instead of ...
0
votes
2answers
72 views

Matlab low pass filter design -removing noise

I am designing a low pass filter in matlab to remove the noises shown in the image. The original signal of interest lasts only for about 80 ms and rest of the signal are noises from probe tip. In ...
0
votes
1answer
27 views

Calculating Data rate function of bandwidth and SNR

I plotted BER vs SNR for BPSK modulation in Matlab and I am given bandwidth of channel (bandlimited channel). lets say it is BW1. I would like to find the data rate based on this information. I am ...
0
votes
0answers
19 views

Commands and data exchanged between the NI driver and Matlab data acquisition toolbox

I used Bronkhorst’s own openDDE to control part of the mass flow meters/controllers in my experimental setup, while one other was operated from a LabView interface. My supervisor now wants me to stick ...
1
vote
1answer
38 views

Voltage Drift on an Open Circuit (and how to get rid of it)

I'm trying to create a custom lick-port to detect mouse licking behavior. I am following a design published here that uses the junction potential between the mouse's tongue and the metal water spout ...
0
votes
0answers
38 views

I've got way too high voltage after the transfer function. Why?

I want to control a simple control system with Raspberry Pi and Matlab. The charactheristic of the system : -Control system’s output voltage range: -12V – 12V -Analog-to-Digital converter’s input ...
0
votes
1answer
61 views

Is it possible to transfrom a transfer function into voltage?

So I have a control system which I'd like to control externally. I have the error signal from the system and I use an ADC to convert the signal to number. I have the transfer function of the system ...
0
votes
2answers
130 views

Thyristor voltage regulator with different fireing angle for each period with simulink

First of all I'm really low with EE so please, go easy on me. As home assigment we have to design Thyristor voltage regulator in simulink. It should run for 5 periods with different thyristor fireing ...
2
votes
0answers
152 views

How to write optimal power flow constraints in MATLAB?

I am writing an optimal power flow (OPF) program. OPF is an optimization problem in which some decision variables like Generation, Load dispatch are adjusted in power flow program so as to minimize ...
-1
votes
1answer
80 views

Filters responses

I got a filter and I want to examine whether it is stable or not. My system has the following TF $$H(s) = \frac{0,0001s^4 + 10s^2}{0,0001s^4+0,05s^3+10s^2+s+1}$$ So after plotting the zpmap (shown ...
2
votes
1answer
135 views

State space modeling with disturbances using Matlab

I am doing a project which involves modeling a quadcopter in state space form using matlab. I first had to linearize the quadcopter equations of motion, and now have to implement them in a matlab ...
1
vote
1answer
65 views

MATLAB function fixdt() question

MATLAB has a function fixdt() that creates objects describing fixed-point or floating-point data type. So if we write ...
0
votes
1answer
146 views

MATLAB error: “acker” function not returning the same thing as ackermann's formula

I have a discrete time system Suppose I have the following AB matrix of my system $$A = \begin{bmatrix} 0 & 1 \\ 1 & 1.5 \\ \end{bmatrix} $$ $$B = \begin{bmatrix} 0 \\ 1 \\ ...
0
votes
1answer
22 views

How to achieve a block of Z^(-0.5) in Simulink?

I'm doing simulation in Simulink of Matlab, but don't know how to get a Z^(-0.5) cell like this:
0
votes
0answers
58 views

How to get change in position and rotation from gyroscope and accelerometer?

i have a 6-axis accelerometer and gyroscope MPU6050 . i'm using simulink with arduino to read to raw data from the mpu . I intend to measure something that only moves in the X and Z axis. I've heard ...
0
votes
0answers
253 views

Incremental Conductance MPPT algorithm in MATLAB Simulink

I am simulating an application of the incremental conductance MPPT algorithm with a boost converter in MATLAB Simulink. The PV cell and boost converter have been modeled. I am facing problems while ...
0
votes
1answer
70 views

Why does my bandpass RF filter complain about Ts in Simulink?

I am doing a basic amplitude modulator, and I'm using as input signal for now a Gaussian noise generator, then I modulate it with a carrier fc=2e9Hz. When using Simulink along with a RF bandpass ...
0
votes
0answers
37 views

Computing main lobe width of Hamming window in Matlab by plotting

(I have asked the same question in Signal Processing SE. I have repeated here hoping for more respones) I wanted to verify the fact that main lobe width of a Hann/Hamming window is twice that of a ...
0
votes
0answers
23 views

how to make parameters as input port in Matlab?

I want to calculate BER in a communication system in Matlab simulink. I have used from "error rate calculation block", which accepts the transmitted and received signals as inputs and the output is ...
0
votes
0answers
32 views

Voltage and Currents in Complex Domain of RC circuits in MATLAB

Define the transfer functions by defining s = jω such that the circuit can be simulated in Matlab, that is, can display all voltages and currents for the circuit. Determine the transfer functions of ...
0
votes
1answer
105 views

read and write error in matlab

I am trying to send a data=40 from matlab gui to pic16f877A via serial communication. To crosscheck value is properly transmitted to pic i also transmitted back that data from pic to matlab and ...
0
votes
1answer
116 views

analysis of RC circuit using Matlab

I designed the circuit and obtained the desired outputs correctly. for for circuit it R = 1e3 , C= 0.15e-6, and f = 250 , ( for RC circuit) and in the second part it asks to increase the frequency to ...
0
votes
0answers
60 views

determining appropriate group delay for FIR filter in matlab

I am trying to take a signal where the frequency with the max energy is about 180Hz and use a filter to distort that frequency by using a group delay. So far I have had no luck with matlab commands,I ...
0
votes
0answers
497 views

Real-time Matlab Simulink plot from serial port data

I have an arduino that constantly writes data via serial port on a usb that I want to plot in real time using Simulink (Matlab R2013b). I have seen matlab codes (.m files) that are working but what I ...
1
vote
0answers
55 views

Analysis of first order RC using Matlab

I finished designing the given circuit using Matlab but I am getting some weird output results on oscilloscope. and here is what I did I used the commands to define the R, F , C, and ...
-1
votes
1answer
101 views

Matlab Components needed for Electrical Engineering Students [closed]

I am installing Matlab, and now I need to select the components that are required for electrical engineering projects, circuits, ect. ( for undergraduate students, not professionals) the list is ...
0
votes
0answers
51 views

Discrete time control in MATLAB: Why do I need ZOH before AND after a system?

I am following a very simple tutorial on modeling discrete time system in MATLAB. What confuses me is that in the literature, a discretized plant G_d(z) is a system for which the input signal is first ...
0
votes
0answers
80 views

Interfacıng Matlab with Agilent 34410A Multimeter

I have a agilent 34410A multimeter which I want to connect with my matlab program through TCP/IP. In youtube there is several videos It seems to be easy but I could not able to connect the 34410A with ...
0
votes
0answers
65 views

Conditions to connect Solar Power Panel to 3 phase Grid Connected supply

I want to connect solar panel to 3 phase grid, and i want to know what are the conditions for connecting them both. I have designed the basic 3 phase source which feeds RLC load, the matlab block ...
-2
votes
1answer
77 views

lower and upper 3dB frequency from frequency response in Matlab

Is there any Matlab code available to find the lower and upper 3db frequency of a plot. If not what could be the easy way. I am aware of the theory but implementing is becoming difficult.
3
votes
2answers
223 views

Obtaining Poles and Zeros from frequency response

What is the process of obtaining the poles and zeros from frequency response plot or data. Any reference or Matlab code will be great help
0
votes
1answer
175 views

How does a DC-AC inverter's DC input current change with time?

Newbie question, would really appreciate some help. I am modelling a simple full-bridge inverter in Matlab. I've used the supplied example file of a full-bridge inverter that was developed by the ...
0
votes
0answers
37 views

Implement Automatic Gain control for 16 QAM

How can I implement an automatic gain control for 16 QAM modulation in Matlab preferably without channel estimation (trial and error may be).
2
votes
1answer
144 views

Parsing Raw ADC Data into Voltage Levels

I'm collecting single-tone test data on the ADC12J4000EVM using the TSW14J56EVM and the High Speed Data Converter (HSDC) Pro software and ADC12J4000EVM GUI. I am trying to capture raw time domain data ...
0
votes
0answers
70 views

dc motor fuzzy logic speed control

I came across this separately excited DC motor model(USING matlab) using PI control for speed control.I am having difficulty in understanding how armature voltage is kept as constant.If the model is ...
0
votes
1answer
100 views

Signal sampling question here please?

We have the signal \$y(t)=7\cos(wt) \$.We have \$f(s)=100~Hz\$.I need to find \$f(T)\$ and reconstruct the signal so that we wont have loss of signal. I think that we need to take \$f(T)>2f(s)\$ ...
-1
votes
1answer
89 views

Zynq 7020 system generator start up problem

I have recently started using Xilinx system generator for simulating dvb communications system. Matlab 2014b and Vivado 2014.4 were installed and everything was running smoothly with no problem. At ...
0
votes
0answers
42 views

How to sort the load bus in a particular order in PSAT Matlab

I am using PSAT to run a powerflow in a 50-bus system. These are the steps I followed: Load the MDL and MATLAB code file containing the bus system Click the "Power Flow" button After 4 iterations, ...
0
votes
2answers
823 views

first Mini dsp Project using matlab and books

i have basic knowledge of matlab and took signal and system course. i want to do project like below. but dont know filter on matlab. are there any books i can learn fft commands etc.(dft, ...
0
votes
0answers
30 views

How to separate the gyroscope signal into segments?

I found similar topic: How to Segment Accelerometer Signal at idle points But there was no answers. Also, I need algorithm to separate signal into segments but in MATLAB. I have one idea, to do it ...
0
votes
1answer
23 views

interfacing MATLAB and ClearSCADA

Is it possible to pass data from Matlab to ClearSCADA software? On their forums I found this: http://telemetry.schneider-electric.com/id3/forum/messageview.cfm?catid=51&threadid=973 but this ...
0
votes
0answers
216 views

Convolution in Matlab of transfer function

My problem is find the output to U(t+1)-U(t-1) with Matlab given the transfer function H(s). I know that I should be able to find the output to any input of an LTI system when given H(s), so I tried ...
2
votes
1answer
264 views

How do I create a Bode plot in Matlab?

I have calculated a transfer function for a specific system (a low pass filter): $$H(j\omega)=\frac{1}{RCj\omega +1}$$ It seems to me that the standard way of plotting the frequency response of the ...