Questions tagged [matlab]

MATLAB is a commercial numerical computer algebra system

MATLAB is a commercial numerical computer algebra system developed by MathWorks, Inc. It is also a programming language. The core is focused on matrix algebra, but extensions (so called "packages", e.g. Simulink) add functionality. This tag should be used to mark questions regarding the use of MATLAB in an electronics and systems theory context, not the general usage itself.

587 questions
16
votes
7 answers

How to do circuit analysis using Matlab?

I often hear of people using Matlab for circuit analysis, but I never actually figured out how it is done. I assume that there is something more to it than just setting up equations by hand and solving them in Matlab. I'm looking for a good starting…
AndrejaKo
  • 23,431
  • 27
  • 112
  • 189
2
votes
3 answers

MATLAB: Reducing transfer functions using Append & Connect technique vs feedback, cloop, series & parallel command technique

The problem here was when I tried to counter check my answer using algebra and the two techniques above I got three different outputs all together. The code: G1=tf([0 1],[1 10]); G2=tf([0 1],[1 1]); G3=tf([1 0 1],[1 4 4]); G4=tf([1 1],[1…
PHO BOSS
  • 31
  • 3
1
vote
1 answer

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 (MATLAB support page) that PCI-6229 is supported.…
Shawn Le
  • 441
  • 3
  • 10
  • 18
1
vote
1 answer

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 to do this ? Is it possible to do the matlab help…
kapitan
  • 11
  • 2
1
vote
5 answers

Why is MATLAB a worthwhile investment in electrical design?

Is MATLAB a worthwhile investment when developing semi-standard circuit designs? such as fitlering, DSP, power supplies, usual things we all encounter. From what I have read and used, it provides great filter design, easy interface for mathematical…
user160063
1
vote
4 answers

Matlab and RLC analysis

I'm trying to plot the response of a series RLC circuit to a step function using Matlab. I've read a bit around it, but I can't get it to work. Help would be much appreciated. Here is my Matlab code: solution = dsolve('square(5, 50) / ((47*10^(-3)…
user968243
  • 1,323
  • 7
  • 18
  • 32
1
vote
2 answers

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 dynamic model I am trying to implement active…
Jamie Lamb
  • 327
  • 3
  • 10
1
vote
0 answers

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 everything else, then I used Simulink to design and simulate.…
user65652
  • 356
  • 1
  • 8
  • 21
0
votes
2 answers

FFT Analysis using powergui (SimPowerSystem)

How to do FFT analysis using powergui tool available in matlab
Atmega32
  • 135
  • 3
  • 3
  • 8
0
votes
1 answer

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 ORDER INTEGRATOR with DISCRETE TIME INTEGRATOR?…
sheetansh
  • 355
  • 1
  • 3
  • 16
0
votes
1 answer

Why is MATLAB used so much in industry when there's other software that can do a better job?

All the classes I'm taking require the projects to be done in MATLAB when there are times that C++ would be much better to use. One time the professor took three hours to find a transfer function when it would have taken two minutes tops in Maple or…
justcurious
  • 17
  • 1
  • 2
0
votes
1 answer

How do you sketch the amplitude response in MATLAB?

How do you plot the amplitude response where: $$Y=\dfrac{1}{\sqrt{R^2+\omega^2 L^2}}$$ That's it. I'm really struggling with symbolic math or converting it to a tf for bode plot and whenever I try to plot it, I'm not sure if I plotted it correctly…
0
votes
1 answer

Another matlab figure question

I want to graph \$h[n] = \frac{1}{n+1} \ n\in [0,29] \$ I tried the next code, but won't compile: n=linspace(0,29,30); h =1/(1+n); figure stem (n,h);…
0
votes
2 answers

Blank figure in MatLab

[This is my MatLab code and I am trying to take a plot of what I have done, but when I run the code the plots are all empty Do you know how I can fix it? clear clc steptime= 0.0001; t=[10;10;10]; % position parameters % p=[x_initial y_initial…
Ha D
  • 11
  • 2
0
votes
1 answer

Something I am stuck in matlab

I want to write down the Fourier series for \$x(t)=1\$ for \$|t|\leq 1\$ and zero otherwise (which is expanded periodically to other intervals with this period of 1), and compare it graphically with \$x(t)\$, for different values for \$N\$, where…
1
2