Skip to main content

Questions tagged [matlab]

MATLAB is a commercial numerical computer algebra system

Filter by
Sorted by
Tagged with
-1 votes
1 answer
72 views

The PV cell can be modelled with a current source, a diode and 2 resistors. The following is the equation for single-diode model for a PV cell. Except I and V, every variables are constants like Iph = ...
Knowledge Drilling's user avatar
0 votes
1 answer
108 views

How to design a 6-pole Butterworth band-stop filter (300 Hz – 3400 Hz) in Matlab using lp2bs? I’m working on a university project where I need to design a 6-pole Butterworth band-stop filter (notch) ...
Eugenia Flores's user avatar
-1 votes
1 answer
61 views

This might not be the best place to ask this question. But I am pretty sure others have accomplished such task before. I need to iteratively run MATLAB and HSpice. The series of steps that need to be ...
Wanderer's user avatar
  • 325
0 votes
0 answers
87 views

What I’ve done so far Combined W₁ and Wₓ into an equivalent block W₁ₓ (second image). Moved the summing junction, then combined W₁ₓ in series with W₂ to form W₁ₓ·₂, combined (1/W₁ₓ) in series with W₄...
ioftenfeellonely's user avatar
0 votes
0 answers
84 views

Can you help me with a state space representation of the electrical network below: simulate this circuit – Schematic created using CircuitLab I'm representing this network in a (mathematical) ...
Bart Simons's user avatar
2 votes
1 answer
97 views

Currently I am doing calculation of V/F control for Induction motor (IM) control using Matlab. I do simple voltage and current calculation based on the equivalent IM circuit. then get the torque based ...
Panco Converter's user avatar
2 votes
1 answer
131 views

Data sheet My Question: I've implemented CRC read on my ADC, but I'm not getting the correct results. I'm following the datasheet for the calculation, but something still seems off. Has anyone with ...
Junaid Shah's user avatar
0 votes
0 answers
58 views

I'm currently designing an Artificial Neural Network PV MPPT. Currently the MPPT is working as it intended. Right now I want so that i can train or code my ANN block so that it can output a 60 volt ...
fast35's user avatar
  • 29
6 votes
4 answers
608 views

I have no idea where I went wrong with this homework question: The waveform: I deduced the function as: $$ y=\begin{cases} 1000t & t\in [ 0,0.002]\\ -1000t+4 & t\in [ 0.002,0.006]\\ 1000t-8 &...
OW1TY2's user avatar
  • 71
1 vote
1 answer
129 views

The following is the PDF from EMpossible. MOM Have anyone written matlab code according to Lecture-9c-Method-of-Moments-for-Thin-Wire-Antennas? The following is my code in matlab. ...
kile's user avatar
  • 1,127
0 votes
1 answer
95 views

Link to MATLAB & Simulink files: https://drive.google.com/file/d/10hG0oOyMZtza1jTbSUYh39C3fjJTs9c8/view?usp=sharing I'm implementing a low-power buck converter with the following specifications: ...
Malek E's user avatar
0 votes
0 answers
60 views

I have 2D radiation patterns of power measurements on the XY, YZ and XZ planes. The output is a *.csv file; in the first colunm we have the rotation angle from 0 to ...
Renaud's user avatar
  • 39
0 votes
1 answer
96 views

I am trying to run LTSpice transient simulations automatically using Matlab. Currently, I am using a simple RLC circuit before applying my code to my needs. I want to 1: set the initial conditions of ...
user443326's user avatar
1 vote
1 answer
76 views

I am new in LTspice and optimization. Could someone please get me started on how to use LTspice and MATLAB together to run a gradient descent optimization and update the value of parameters? I am ...
failed_student's user avatar
0 votes
1 answer
69 views

I need to understand the purpose and type of the block encircled in blue from this simulink simulation from which i only have images, not the actual file.
Roberto Lemaitre's user avatar
1 vote
3 answers
228 views

I am trying to calculate bode plot of a circuit. For proteus my frequency at -63dB is 18 kHz as sample the circuit connection and its bode plot is provided. Using analytical approach I calculate the ...
ANA's user avatar
  • 43
3 votes
4 answers
274 views

I am trying to simulate an electronical device that can be modeled by a mass-spring-damper system with an additional non-linear force. The equation at the equilibrium for the system is the following : ...
aloyssss's user avatar
0 votes
2 answers
234 views

I made MATLAB calculate the Fourier transform of these square wave pulses which have a frequency of 60Hz. I do not understand why, the more I increase the sampling frequency, the less visible the ...
Christianidis Vasileios's user avatar
1 vote
1 answer
100 views

I have been trying to create a piecewise linear model of a diode through curve fitting. While trying to implement the code below, I ran into a strange bug that is causing my output curve to shift to ...
Parker's user avatar
  • 27
0 votes
1 answer
130 views

I am designing a PCB IFA and to get used to simulating it later down the road, I decided to first simulate an existing, known working design. Known design for 0.062" Substrate (page 3) This is ...
JonathanG's user avatar
  • 474
0 votes
1 answer
172 views

I have built a fully controlled three-phase rectifier in MATLAB Simulink. Now according to theory for RL load as I increase firing angle from 90 deg to 180 deg, the output voltage should become more ...
saqib khalid's user avatar
0 votes
0 answers
92 views

I am trying to theoretically find the frequency response of the circuit given below: Firstly i found the impedance value of the RC Ladder by applying the equation below, then i defined this as "...
Neverhadagf's user avatar
2 votes
1 answer
119 views

I am trying to get a visual representation of how the Doppler effect destroys the orthogonality of the subcarrier and understand this effect. I plotted three orthogonal subcarriers in MATLAB: ...
Anna Koroleva's user avatar
0 votes
1 answer
145 views

I have been trying to simulate the following RLC circuit: When I simulated in Multisim Live I obtained the following frequency response, which I expected based on the values I used to calculate ...
Parker's user avatar
  • 27
1 vote
1 answer
195 views

$$\frac{C(s)}{R(s)}=\frac{\omega_n^2}{s^2+2\zeta \omega_n s+\omega_n^2}$$ Obtain the pole zero map and step response of the 2nd order system and determine the mode of damping in the system. If the ...
SKevinAR18's user avatar
1 vote
2 answers
177 views

So, i've been asked to get the differential equations (or model) for this circuit: V1=15 u(t)V, R1=10 ohm, R2 = 20 ohm, C1=10uF, C2=20uF I'm just a beginner, and don't know if the differential ...
Nicolas Guevara Herran's user avatar
0 votes
2 answers
203 views

I am using an HP 34401A as an ADC for data acquisition. I am triggering the device within a 'for' loop in MATLAB, so that I can synchronize the measurement with a separate device. I am able to collect ...
nudge's user avatar
  • 1
0 votes
0 answers
140 views

I have a boost converter which works perfectly with an s-domain controller (using a type-3 compensator and dual loop). Now, I need to do this using digital control (z-domain). I have converted the s-...
Boost_Guy's user avatar
0 votes
0 answers
141 views

Here is my circuit in LTspice. The frequency AC is here: This is DC with .op command. --- MOSFET Transistors --- Name: m1 Model: nmos-sh Id: ...
kile's user avatar
  • 1,127
1 vote
1 answer
64 views

I am sending data from an Arduino Uno to MATLAB. Below is my Arduino and MATLAB code: Arduino Code: ...
user42423's user avatar
  • 365
0 votes
1 answer
208 views

How do I find poles and zeroes from this complex transfer function? $$ H(s) = \frac{2959}{100\,s} - \frac{ 171\, \Gamma\left( \frac{7447}{10000} \right)} {200\, s^{7447/10000}} $$ I used the ...
igor's user avatar
  • 25
0 votes
0 answers
97 views

...
MattCG's user avatar
  • 1
0 votes
2 answers
193 views

I wrote up some code in MATLAB that's supposed to simulate the frequency response of a third order passive low pass Butterworth filter with a cutoff at 10kHz. The curve seems to match the results I ...
Tim Dorval's user avatar
2 votes
2 answers
139 views

I simulated the 2N5089 bipolar transistor in both programs. The output I-V curve is completely different, although both programs use the Ebers-Moll model. Spice-model of the transistor: ...
Mar-i-ya's user avatar
2 votes
1 answer
339 views

I have this circuit in LTSpice to test a PMOS model: and this matlab function that implements a basic pmos with the characteristics equations: ...
Marco Ferrè's user avatar
0 votes
0 answers
49 views

I am using MATLAB 2015a and I am trying to get stepinfo parameters of output that was exported from Simulink to MATLAB workspace but I am not getting same values as if try to get stepinfo for MATLAB ...
ATJ's user avatar
  • 45
0 votes
1 answer
148 views

I'm currently having trouble troubleshooting my answer. I have to make a bandstop filter that has a cutoff frequency of 100 rad/s, and 10^6 rad/s using two Sallen-Key filters. I made the low and high ...
doedoe's user avatar
  • 9
0 votes
0 answers
60 views

I want to develop a trilateration algorithm using 3 fixed advertising beacons in different parts of a room and a mobile receiver which continuously gets the RSSI values of the 3 fixed beacons and ...
Andreiul's user avatar
  • 117
0 votes
1 answer
250 views

I'm trying to plot a -20dB/dec line on MATLAB but can't seem to get it correct. I know that a linear line in a loglog plot is actually an exponential curve in the linear scale. So writing a y = mx + ...
SM32's user avatar
  • 450
1 vote
0 answers
93 views

EDIT: This is not a duplicate of 'Wrong graphs for Ids'. That one focuses on the transfer characteristics, while this one addresses the output characteristics. This distinction was also mentioned in ...
begin's user avatar
  • 41
1 vote
0 answers
151 views

EDIT: I have now obtained this graph, using the suggested changes. Does it look reasonable? And this one maybe more clearer: I'm writing a MATLAB script that employs Shockley's model to derive the ...
begin's user avatar
  • 41
0 votes
1 answer
70 views

Please check the attached snap especially the portion in red marked area, which is simulation stop time and it has default value of 10? Is it 10 second or any other unit? According to my experience, ...
DSP_CS's user avatar
  • 1,181
1 vote
0 answers
70 views

I have a beamforming vector, which includes amplitude and phase information. How can I determine the corresponding beamforming pattern for the antenna and plot it in Matlab? For example, I have a ...
Zhenlong You's user avatar
2 votes
0 answers
143 views

I'm designing a type 3 compensator with an opamp for a flyback which is operating in a constant voltage mode. Therefore I measured the plant and started to design a suitable type 3 compensator to ...
daniel's user avatar
  • 31
0 votes
2 answers
215 views

I am using the sisotool in MATLAB to obtain the bode plot of the following transfer function: MATLAB marks a pole at wo which is approximately 11.18 What is the meaning of this? How would you even ...
needbrainscratched's user avatar
0 votes
1 answer
539 views

For a Simulink Model I am looking for a quick and easy way to estimate PI-controller parameters for a speed control loop and Id and Iq controler of a PMSM using FOC. I don't have a real motor just the ...
hanss's user avatar
  • 147
0 votes
0 answers
79 views

I'm trying to design a PI Controller on the basis of this paper: "Design of robust PI control systems based on sensitivity analysis and genetic algorithms." by Jau-Woei Perng • Shan-Chang ...
Rin R's user avatar
  • 1
3 votes
0 answers
62 views

So far I have not much experience with modeling in the field of lithium-ion cells or batteries except equivalent circuit models (ecm)-models which I've implemented and used for simulations in Matlab/...
Medi1Saif's user avatar
  • 169
2 votes
1 answer
184 views

I'm a student new to sensors. I'm currently calibrating the gyroscope from the following IMU: ICM42670. I was able to get the bias by leaving the gyro for some time and getting the average of the ...
miiguell's user avatar
0 votes
1 answer
109 views

How to create a rectangular waveform with amplitude 18 to -3 using pulse generator? If I put 18 as the amplitude then the wave is between 18 and 0. How do I change that to 18 to -3?
Gayathri Narayana's user avatar

1
2 3 4 5
12