# Questions tagged [matlab]

MATLAB is a commercial numerical computer algebra system

388 questions
Filter by
Sorted by
Tagged with
282 views

### Matlab and HDL code generation

I have a project involving audio on a Xilinx Spartan6 FPGA. The goal of the project is to make an audio processor using HDL (mostly educative and for fun). It's basically a pipeline of audio effects ...
1k views

45 views

### How to take the sample out of a impulse function

I have a system which is built from taking the transfer function. Lets call it "sys". Now I found the impulse response for this system by taking, ...
286 views

### How to calculate resistance, inductance, capacitor value for dc-dc buck-boost converter

How to calculate resistance, inductance, capacitor value for dc-dc buck-boost converter when using with Solar panel? I am working on a project. Charging battery with solar panel with/ without MPPT. ...
554 views

### Need help understanding this PWM Generator [closed]

From what I was told, this is a PWM generator. I am not exactly sure how this works. Can someone explain to me how this works? Whats the use of the repeating sequence and sine wave going into the ...
43 views

### measuring the BER for various input data rate over a custom made channel

I have a wireless channel, for which I need to pass binary bits and input and measure the BER at the output. The problem for me here is varying the data rate at the input. How can I represent the ...
88 views

### Any ideas for a hardware to do AM and FM modulation? [closed]

I'm trying to do some signal processing (AM/FM Modulation) for signals from 0 - 60kHz. Any recommendations for hardware? Preferably something I can use MATLAB with (or Python) as I'll most likely be ...
284 views

### Estimation of impedance in MATLAB

Good Morning, I'm developing a bio-impedance system. To perform the impedance calculation, I am trying to use the method described in this article, and mentioned below: http://www.ijirset.com/upload/...
208 views

### How to plot 40GB hspice output?

I don't know other software to plot the file and get results put into the report. Matlab hspice toolbox is good for small size files, but I am not sure it is fine with large size ones. Can I plot ...
451 views

### LC Filter Active Damping

I have a Matlab simulation which implements vector control with an LC filter The simulation comprises a voltage source inverter feeding an LC filter model whose output is passed to an induction motor ...
2k views

### How to plot Smith chart

I need to plot Smith chart, having frequency, VSWR, reflection coefficient and phase. I'm aware there's smithchart command in matlab and as an argument I should use ...
200 views

### Inferring RAM ALTERA from vhdl of HDL CODER

I've generated vhdl from Simple port RAM and Dual port RAM in simulink and I tried to synthesize with Quartus 14 and 16 on Arria V and 10. The option to allow RAM for any size is ON but I don't ...
526 views

### Can ModelSim PE Student Edition co-simulate with MATLAB/Simulink?

I successfully simulated my Verilog code in ModelSim-Altera Starter Edition. I want to incorporate MATLAB/Simulink in my simulations. However, I failed. I have this error in ModelSim-Altera Starter ...
146 views

### Is MATLAB HDL Coder viable for complex FPGA designs?

I'm building a feed handler for an FPGA and, having never done this before, I'm wondering if I would be OK using MATLAB (HDL Coder) as an alternative to VHDL. Is this generally a viable options, do ...
254 views

### Charging a capacitor. Calculations and PSpice simulation don't match

I started using PSpice only yesterday and I have a problem with a really simple circuit. Vs = 2 V R1 = 1 kĪ© C1 = 50 nF The switch closes at t = 0 (it's not really needed). After running a Time ...
2k views

### How to perform System Identification on DC motor?

I'm taking a class on control theory, and for our final project we've been assigned to choose whichever system we want and develop a controller for it. I've choosen to perform RPM control on a simple ...
65 views

### How can I plot the voltage across any component by Matlab?

I want to ask how can I plot the voltage across any component by Matlab? I have a simple RLC circuit and I want to plot the voltage across the 3 components and I didn't use Matlab before. I found the ...
473 views

### Filtering and Delay Compensation in Matlab and Simulink

I have built a FSK modulator and demodulator in Simulink. Everything is working fine except the received signal after the channel has short spikes, which are introducing a short pulses in the ...
679 views

### How do I calculate impedance of a (bypass) capacitor (for simulation)?

I wanted to build a simulation of bypass capacitors in Matlab, especially to play around with pairs of different valued caps. So I thought I just take a model of a real capacitor as series connection ...
140 views

### Why is my simulation results are not matching to the theoretical data?

I have a circuit You can down here I am trying to find out the transfer function of Voltage across L3/Input Voltage. When you probe at L3, you can see the voltage ...
291 views

### Object tracking project [closed]

I have to create a system that can track an object in the air and shoot a projectile at it. This in on a small scale. I want to use an ultrasonic sensor because I know nothing about vision algorithms. ...
590 views

### How do I generate the described pulse signal in Matlab (Simulink)?

I want to implement the following signal: I(t) = 500*(sin(pi.t/0.3))^2, t belongs {0,Ts} = 0, t belongs {Ts,T} Here, T = 0.8 and Ts = 0.3 The code I tried: ...
276 views

### How to design a passive filter from poles and zero of a transfer function?

I am using octave/matlab to get the coefficient of numerator and denominator of a filter with filter command such as butter or ...
638 views

### How to shift signal phase in matlab from this circuit?

The circuit shown is in matlab. Sinus signal is provided by vpin by connecting from PCI. The sinus signal is looks like on the scope. The problem is i want to shift signal phase, from the picture ...
270 views

### How to test PLL for step input change in phase

I wrote a simulation for second-order PLL and I would like to test it with an input to see whether my PLL can track the phase. I would like to change the phase of my sinusoidal signal with step with ...
350 views

### How to extract ADS marker information to matlab?

I am new to ADS software and I want to extract marker values to MATLAB. Is there any efficient way to do that? For example,
140 views

### Drawing Smith Chart from Network Analyzer file

I have a file as a .dat format taking from network analyzer. I want to plot Smith chart graph. The file has 3 columns which are frequency, S11(linear value), S11 (ang value) respectively. How can draw ...
499 views

### Simulation of OCC, for a 3 phase Alternator using MATLAB/Simulink

I was wondering if there was a way simulate a 3 phase alternator on MATLAB/Simulink and obtain its Open Circuit Characteristics by conducting an Open Circuit test. Also is there any other possible ...
614 views

### In a Delta-Sigma ADC, does noise shaping bring the noise to the signal's frequency?

I'm trying to understand the Delta-Sigma ADC. It is known that it pushes the quantization noise to be in the higher frequencies (noise shaping). Since I don't quite understand how this works, I ...
445 views

### Error in powergui block in Simulink involving vector dimensions.

I am designing a DC machine in Simscape, but when I try to run the simulation there is this weird error: "Error in port widths or dimensions. Input port 2 of 'simulacaodcmono/powergui/...
166 views

### Direct Torque Control of Induction Motor (DTC)

I was working on a project on how to design a classical Direct Torque Control drive DTC but there is a ceratin point that i can't understand. How can we calculate the Reference values of the torque ...