結果:
Hello everyone,
Im trying to simulate an 3-phase inverter, and for analysis of semicondcutor switches cuurent and voltage, I witness some unusal behaviour. I have connected a current sensor to the drain to calculate and visialize drain current, but the waveform is lookibg something like in picture if instaneous overshooting when going form high to low or vice versa, and the magnitude of the overshooting pulse can reach upto 500 Amps.
Kindly, guide me what am i doing here wrong? and one more thing is that I have set the Ids current to be 63Amps for N-channel Mosfet, but the output is 42-44 Amp max, what could be the reason behind it?
Thank you in advance!!

I would tell myself to understand vectorization. MATLAB is designed for operating on whole arrays and matrices at once. This is often more efficient than using loops.
Is there a reason for TMW not to invest in 3D polyshapes? Is the mathematical complexity of having all the same operations in 3D (union, intersection, subtract,...) prohibitive?
Ma poate ajuta cineva in rezolvarea acestei probleme, va rog frumos?!
Fie sistemul
x1 + x2 − x3 + x4 = 1,
x1 + 2 x2 + x3 − 3 x4 = 1.
• Identificaţi o metodˇa pentru calculul aproximativ al unei soluţii în sensul problemei celor mai mici
pˇatrate;
• Identificaţi o soluţia în sensul problemei celor mai mici pˇatrate care este cea mai apropiatˇa de
(0, 0, 0, 0)T
I am using the SVM block available in Matlab for simulation, but when I open this block, it doesn't seem to resemble any SVM algorithm that I am familiar with. Could someone explain or provide information about the SVM algorithm used in this block? Thank you in advance.

In matpower 7.1 there are many kinds of system tests available. In this case, I wanted to add a photovoltaic generator to the test system. I've seen some discussions about adding a generator to the matpower. However, I don't understand several things:
1. Where should I add a photovoltaic generator to the system test? For example in case5 below:
function mpc = case5
%% MATPOWER Case Format : Version 2
mpc.version = '2';
%%----- Power Flow Data -----%%
%% system MVA base
mpc.baseMVA = 100;
%% bus data
% bus_i type Pd Qd Gs Bs area Vm Va baseKV zone Vmax Vmin
mpc.bus = [
1 2 0 0 0 0 1 1 0 230 1 1.1 0.9;
2 1 300 98.61 0 0 1 1 0 230 1 1.1 0.9;
3 2 300 98.61 0 0 1 1 0 230 1 1.1 0.9;
4 3 400 131.47 0 0 1 1 0 230 1 1.1 0.9;
5 2 0 0 0 0 1 1 0 230 1 1.1 0.9;
];
%% generator data
% bus Pg Qg Qmax Qmin Vg mBase status Pmax Pmin Pc1 Pc2 Qc1min Qc1max Qc2min Qc2max ramp_agc ramp_10 ramp_30 ramp_q apf
mpc.gen = [
1 40 0 30 -30 1 100 1 40 0 0 0 0 0 0 0 0 0 0 0 0;
1 170 0 127.5 -127.5 1 100 1 170 0 0 0 0 0 0 0 0 0 0 0 0;
3 323.49 0 390 -390 1 100 1 520 0 0 0 0 0 0 0 0 0 0 0 0;
4 0 0 150 -150 1 100 1 200 0 0 0 0 0 0 0 0 0 0 0 0;
5 466.51 0 450 -450 1 100 1 600 0 0 0 0 0 0 0 0 0 0 0 0;
];
%% branch data
% fbus tbus r x b rateA rateB rateC ratio angle status angmin angmax
mpc.branch = [
1 2 0.00281 0.0281 0.00712 400 400 400 0 0 1 -360 360;
1 4 0.00304 0.0304 0.00658 0 0 0 0 0 1 -360 360;
1 5 0.00064 0.0064 0.03126 0 0 0 0 0 1 -360 360;
2 3 0.00108 0.0108 0.01852 0 0 0 0 0 1 -360 360;
3 4 0.00297 0.0297 0.00674 0 0 0 0 0 1 -360 360;
4 5 0.00297 0.0297 0.00674 240 240 240 0 0 1 -360 360;
];
%%----- OPF Data -----%%
%% generator cost data
% 1 startup shutdown n x1 y1 ... xn yn
% 2 startup shutdown n c(n-1) ... c0
mpc.gencost = [
2 0 0 2 14 0;
2 0 0 2 15 0;
2 0 0 2 30 0;
2 0 0 2 40 0;
2 0 0 2 10 0;
];
2. What about the parameters included for the specifications of a photovoltaic generator? In this case, I want to add a 100 MW photovoltaic generator.
3. In the "runopf" simulation, is the value of the 'objective function value' the amount of generation cost of the system? Do these costs include fuel costs, operating costs, maintenance costs, and also the initial investment?

Thanks in advance.
Dear Forum,
I tryed to use my STM32F767zi nucleo with simulink.
I followed the steps from the training material.
In the end I ended up with only 2 libraries rather than 5 as in the training video !!
Where are the missing 3 libraries?
I use Matlab 2020a
Thank you
Andy

I have been developing a neural net to extract a set of generative parameters from an image of a 2-D NMR spectrum. I use a pair of convolution layers each followed by a fullyconnected layer; the pair are joined by an addtion layer and that fed to a regression layer. This trains fine, but answers are sub-optimal. I woudl like to add a fully connected layer between the addtion layer and regression, but training using default training scripts simply won't converge. Any suggestions? Maybe I can start with the pre-trained weights for the convolution layers, but I don't know how to do this.
JHP

how can I do to get those informations?
I noticed a couple new replies show up on the recent poll a day or so ago, but since then, the page can't be loaded anymore in any browser I've tried.

Is MathWorks going to spend 5 years starting in 2024 making Python the #1 supported language?
I'm not sure it's authentic information, and am looking forward to a high level of integration with python.
Reference:
This is not a question, it is my attempt at complying with the request for thumbs up/down voting. I vote thumbs up, for having AI.....
I am not sure if specific AI errors are to be reported. Other messages I just read from others here and the AI Chat itself clearly state that errors abound.
My AI request was: "Plot 300 points of field 2"
AI Chat gave me, in part:
data = thingSpeakRead(channelID, 'Fields', 2, 'NumPoints', 300, 'ReadKey', readAPIKey);
% Extract the field values
field1Values = data.Field1;
% Plot the data
plot(field1Values);
The AI code failed due to "Dot indexing is not supported for variables of this type"
So, I corrected the code thus to get the correct plot:
data = thingSpeakRead(channelID, 'Fields', 2, 'NumPoints', 300, 'ReadKey', readAPIKey);
% Extract the field values
%field1Values = data.Field1;
% Plot the data
plot(data);
I see great promise in AI Chat.
Opie

Hello Everyone,
I want to model an electric vehicle in simscape electrical, I have few quiries regarding it.
- I have modelled an 3-Phase inverter, and used ee_getPowerLossSumary to get switching losses, and the results are okay as i was expecting, but now is there any other function to calculate conduction losses?
- I want to connect a BLDC motor, I have few parameters from manufacturers datasheet, but not all the parameters, so what would the best way according to your understanding, to model motor losses (Copper + Core).
I'm trying to calculate major fundamental losses of an EV. Looking for your inputs on this.
Thank you!
i am trying to build a pulse radar using barker codes. i modulate the barker code and sine wave and added some noise as well. then i attached a matched filter whose parameters are shown in the image. and then made an attempt to demodulate, which i don't think is right. can someone please help me with the matched filter- like are the coefficients right? and also what else can i add remove and demodulate/detect.
PLEASE HELP ME OUT HERE I HAVE BEEN STUCK FOR QUITE A WHILE AND UNABLE TO FIGURE OUT HOW TO GO FURTHER
I need your help.
I am working on a simulink model and I want whenever run it, I give it some inputs. e.g. I can give it different heights when I want it to work.
I defined a file.m in the same directory and same name. but whenever I run it I face this error:

What should I do?
Has anyone ever been in this situation. When I use the ODE toolbox to find some complex system of equations with coefficients that vary greatly in order of magnitude, the results are completely incorrect. If you are in the same situation or know a solution, welcome to discuss with me, thank you!
Hi Any one knows how to interface delta VFD MS300 with matlab to control motor speed and
Explore all the capabilities for Modeling Dynamic Systems while keeping them handy with this Cheat Sheet - Download Now.

Hi,
I'm trying to install R2023b silently on Windows 10 Enterprise 22H2. The process starts but fails 10% into everything.
End of the file C:\tempmatlab\R2023b\installer_input.txt
(Dec 20, 2023 08:43:48) Session key: 5955da33-7f96-454a-b24a-aa1914758a09
(Dec 20, 2023 08:43:49) Product Files Folder: C:\tempmatlab\R2023b\archives
(Dec 20, 2023 08:43:52) License Agreement validation is successful.
(Dec 20, 2023 08:43:52) FIK validation is successful.
(Dec 20, 2023 08:43:52) License File validation is successful.
(Dec 20, 2023 08:43:52) Folder validation is successful.
(Dec 20, 2023 08:43:52) Product selection validation is successful.
(Dec 20, 2023 08:43:52) Confirm Selections
(Dec 20, 2023 08:43:52) Destination
(Dec 20, 2023 08:43:52) C:\Program Files\MATLAB\R2023b
(Dec 20, 2023 08:43:52) Products
(Dec 20, 2023 08:43:52) 113 of 113 products
(Dec 20, 2023 08:43:52) 23.74 GB required
(Dec 20, 2023 08:44:47) 1%
(Dec 20, 2023 08:45:09) 2%
(Dec 20, 2023 08:46:25) 3%
(Dec 20, 2023 08:46:40) 4%
(Dec 20, 2023 08:47:12) 5%
(Dec 20, 2023 08:47:20) 10%
(Dec 20, 2023 08:47:48) Exiting with status -2
(Dec 20, 2023 08:47:48) End - Unsuccessful
Both a FIK & license.dat are accessible during the install. There is 80GB of free disk space as well. No one is logged in to Windows when the install is performed. What does status -2 mean?
Thnaks!