MATLAB is a commercial numerical computer algebra system

learn more… | top users | synonyms

0
votes
1answer
33 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
22 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
56 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
27 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
85 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
42 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
21 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
66 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
23 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
0answers
11 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
42 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
67 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 ...
1
vote
1answer
32 views

Can I get Simulink blocks from commlib individualy

We were simulating communication with DPCM modulator in school. I saved the Simulink scheme and now I would like to simulate some more situations at home, but my commlib doesn't have the modulator we ...
0
votes
1answer
68 views

How to calculate logic gates power in microwatts in Matlab?

I am designing a logic gates sequential circuit in Matlab2014 Simulink using logic gates and I am giving Pulse and Constant at the input of the circuit but I cannot measure current and voltage at the ...
0
votes
2answers
60 views

Sketching Sine Wave in Matlab

I am working with matlab in college and I need to generate sine wave whcih represents signal going through a wire. But its not clear to me what t equals to and how can I multiply \$y\$ by \$t\$ this ...
3
votes
1answer
73 views

Cross Correlation values

I'm trying to develop a flow meter using the cross correlation algorithm. I'm using 2x IR leds and 2x phototransistors and a MSP430F5529. One pair of phototransistor-Led go in the upper level and the ...
0
votes
1answer
54 views

How to calculate the variance of a discrete signal?

Explained as: 'the variance of the signal is the mean of its squares minus the square of its mean' The mean of its squares (average of instantaneous power of all samples) minus the square of its mean ...
0
votes
0answers
57 views

Lock-In amplifier

I am currently performing experiments on FM Atomic Spectroscopy. The light from VSCEL is interacting with an akali vapor in a cell and the output is received at the photodetector. The output contains ...
3
votes
3answers
145 views

Non ideal op-amp equivalent circuit output voltage

I am creating this question to ask you about a "strange" behavior I am observing in Matlab about an op-amp circuit. I am reading "Fundamentals of Electric Circuits" the 5th edition, and in the chapter ...
0
votes
0answers
58 views

How to fit practical PID controller state equations into a state-space matrix representation (to be used for RK4 through MATLAB)?

So i need to implement an RK4 algorithm of a state-space matrix in order to convert it from continous to discrete time ( using RK4 is the specified method in the assignment Q). Diagram of the ...
0
votes
0answers
28 views

All Xilinx Blocks must be contained in a level of hierarchy with a System Generator Token error in xilinx

I am trying to simulate psuedo random data generator on simulink but I am getting this error ...
0
votes
1answer
94 views

Teensy + Matlab Serial Communication Problem (12Mbit/S)

Im trying to send some data from my teensy to matlab but matlab didnt even call the callback function: This is my matlab Funcion: ...
0
votes
1answer
122 views

Implementing High Pass Filter in Simulink

I am trying to implement the following block diagram using Simulink in Matlab. I am having trouble getting the high pass filters to work properly. To do the filtering, I am using the First and ...
2
votes
1answer
193 views

How does this Matlab code work?

I came across this uncommented Matlab code except for the header: ...
0
votes
0answers
73 views

Defibrillator simulation in Matlab/Simulink

Guys'm doing work at the university, to deliver on Friday the 17th and my problem is as follows. My aim is about defibrillator and I have to do the simulation and generate a pulse same as ...
1
vote
1answer
149 views

Parsing .s2p data through an automation script to plot graphs of the various s-parameters

Need to find a way to quickly decipher and plot s-parameters for tons of .s2p files in a short period of time. In specific, I need to plot the angle of the s-parameters versus frequency and then the ...
2
votes
2answers
175 views

Calculation of inductance of rectangle coil

I'm currently working on a project about inductance. I want to calculate the inductance of a rectangle-shaped coil with a pitch different from zero. I tried this by applying the law of Biot-Savart. If ...
1
vote
2answers
1k views

Can I run matlab on a microcontroller?? and if yes which one?

I am working on a complicated robotics project which involves MATLAB image processing algorithm and LEGO MINDSTORMS interface as well as an Arduino. The system works dependently in a sequence ...
0
votes
0answers
63 views

Analytical design of bandpass filter: MATLAB function documentation

I am trying to "design" a blackbox bandpass filter (butterworth or chebyshev) based on parameters such as \$f_{min}\$, \$f_{max}\$, bandwidth(BW)/Q-factor, and etc, using Visual Basic. However I am ...
0
votes
0answers
32 views

How is it possible to simulate the predefined IM motors in MATLAB/Simulink with a delta connection?

The default of stator connection of induction motors in Simulink is Y. I'd like to have Delta connection; however, this option has not been defined there.
0
votes
1answer
53 views

Digital Signal Analysis: Sinusoid and Filtering problem

I was wondering if someone could help me derive the answers for (ii) and (iii)? These are exam review problems, not homework, and I have no idea how to solve them. I have been trying to reference my ...
0
votes
0answers
142 views

What is RL, RLC Transfer Function graph in frequency domain?

I made function in Matlab to draw graph of absolute value and phase of H(f). But i don't know how the graph supposed to be in RL and RLC circuit. So i'd like you to check if graph can be correct. ...
1
vote
1answer
333 views

PID gains from the transfer function of a plant

I am trying to calculate gains ( Kp, Ki, Kd ) of a PID controller. I have to improve the response of a plant. I already have the Transfer function of the plant. I was wondering if matlab has some ...
1
vote
2answers
179 views

How do I transmit an FM signal from the VGA_R port on the DE2-115?

The best reference for my question would be this youtube video: https://www.youtube.com/watch?v=4VW017qPT6Y I'm trying to do exactly what they did with the following resources: Matlab 2013a with ...
-3
votes
3answers
244 views

How to obtain sine wave back after fft?

I performed fft in matlab on y=sin(2*pi*t), with a time period of T=0.015. Now I want to get the original function back in the time domain, but I'm not sure how I can use ifft to do that. It gives me ...
2
votes
1answer
207 views

Interfacing Matlab with a NI real time target (cRIO 9073)

I currently have a control system implemented in Matlab that controls a vehicle. The tracking is performed using an overhead camera, and commands are sent to the vehicle via xbee. I have now added a ...
2
votes
0answers
276 views

I need to calculate the average power spectral density after passing packets through a butterworth filter using MATLAB

I am trying to generate 100 packets(row vectors each of size 8192) of random bits(1,-1),filter them using butterworth filter and then plot their average power spectral density. I have to do this ...
0
votes
0answers
584 views

Plotting reflection coefficient magnitude vs frequency in MATLAB

I am trying to plot a function (t) with respect to w in MATLAB. However, the output that I am seeing is showing 0 for all w within the defined range. This is not what I am supposed to be seeing. The ...
2
votes
1answer
108 views

How to interpret this bode diagram

I have this bode diagram. I am wondering how to interpret this. We start off with 90 degree phase lag e.g. a integrator. Then at approx 12 Hz we drop another 180 degrees indicating two integrators. ...
1
vote
1answer
82 views

Accurate frequency output through external speaker

I'm creating an application where I want to output a constant frequency through a speaker to test the frequency range of a microphone device I've developed. The problem is, my application measures ...
1
vote
1answer
135 views

Measurement system with MATLAB real-time windows target and NI PCI boards

I'm setting up an experiment which employs MATLAB real-time windows target and NI PCI-6229 and carrier SC-2345 board while I'm wondering about the hardware's compatibility It's given from here ...
0
votes
0answers
735 views

FFT Analysis using powergui (SimPowerSystem)

How to do FFT analysis using powergui tool available in matlab
2
votes
2answers
671 views

Why my full-wave bridge type diode rectifier circuit begins an analysis from 8. second on Matlab Simulink?

Hi, I am working on Matlab Simulink's work page to get full-wave and half-wave bridge-type-diode rectifiers as could be seen in the picture. But, according to my Scope2 screen when I double clicked ...
0
votes
1answer
1k views

Simulating a Flyback converter using Matlab / Simpowersystems, cannot get it to work, any tips?

I have created a flyback converter model using Simpowersystems in Simulink/Matlab. But it always gives me the wrong answer! I have simulated the same system using PLECS and Simscape/simulink and got ...
0
votes
1answer
126 views

Affine Non Autonomous State Space system

Normally We all know the state space model of the the form der(x) = F*x(t)+G*u(t) y = H*x(t)+J*u(t). However I came across a state space model which has the following form der(x) = F*x(t)+G*u(t) + ...
3
votes
1answer
370 views

How can I high pass (DSP) filter a low frequency signal without introducing lag?

I need to high pass filter a signal, and my design just isn't cutting it. The part that's making it tricky is that I can't tolerate lag. I am sampling at 20Hz, the signal I care about is 1/12 to ...
1
vote
3answers
424 views

Describing step response in terms of poles and zeros of transfer function?

me and a friend are stuck describing something, we're both coming to terms with using matlab and we're trying to understand the design of a simple control system for controlling the steady-state error ...
4
votes
1answer
601 views

Kalman filter on linear acceleration for distance

In my application to calculate displacement from motion of accelerometer, I am using kalman filter to improve the displacement accuracy. Please note I am aware of ineffectiveness of acceleration for ...
0
votes
1answer
197 views

use ADSL modem like a analog to digital converter

How to input a signal to a ADSL modem (in phone line input) that such a simple sinusoidal signal and get same signal by computer ? ADSL modem connected by network cable and usb cable is The software ...
0
votes
1answer
203 views

Discrete Time Integrator (VS) Continuous Integrator

I am trying to Model control for a Micro-controller which (under Real Time Development) does not support Continuous time solver. So, instead i have to use Discrete Time Solver. How do i replace SECOND ...