Questions tagged [matlab]

MATLAB is a commercial numerical computer algebra system

Filter by
Sorted by
Tagged with
1
vote
1answer
84 views

How determinate parameters for thermal-model battery (Advanced question about battery modelling)

I'm trying to simulate an electrical model based on Ceraolo battery model for lead-acid battery. The challenge in this model is to determine the parameters that describe it. I can understand and ...
4
votes
2answers
1k 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
2
votes
1answer
390 views

Pole Zero Cancellation on a Root Locus

Question: ...design a controller in the feedforward path to minimise the effects of the two pairs of dominant poles. Use a pole-zero cancellation technique on a root locus diagram.... I have a 5th ...
2
votes
1answer
544 views

How does this Matlab code work?

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

Embedded C - USB stack, arm-none-eabi-gcc settings and Matlab interface

I am using LPCOpen (latest realese available for LPC4370) and the usb stack provided within it. I need to build a simple FSM to control the mcu with Matlab and send data from Matlab to the mcu and ...
2
votes
1answer
640 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 ...
1
vote
0answers
37 views

Values got from programmed PID are different from ones simulated in Simulink

Please also read Update I created a PID simulation in Simulink: where the Step block is set with parameters: ...
1
vote
1answer
205 views

Trying to simulate a simple micro inverter, Cant connect scope

I am trying to simulate a simple Micro inverter. Below is my Simulink Model :- But somehow i am unable to connect Voltage Sensor to a scope. Even if i used a DC Source instead of Solar Cell. What i ...
0
votes
0answers
60 views

CORTEX-M LPCOPEN USB-VCOM basics - proper way to build a simple FSM

I'm working on a project involving the LPC4370 mcu (LPC link 2 eval board) and Matlab. I need my embedded code to be user-reconfigurable from matlab: the user sends a command, the mcu replies. I'm ...
0
votes
1answer
44 views

offset binary from ADC to Decimal

Im trying to read data from ADC with ADC Inteface Im designing with FPGA. The data that coming out from the ADC is offset binary with 12 bits.. looks like that: I want to simulate this results using ...
0
votes
2answers
308 views

Changing ltspice export from cortesian to voltage values when using AC anlysis

I'm trying to export a waveform from ltspice into an excel document to be later graphed using Matlab. I am simulating a simple series bandpass filter and when I export the voltage across a capacitor. ...