主要内容

搜索


I just started my MPhil in power systems and we are doing load flow analysis. I am completely lost throughout the gauss seidel and newton Raphson methods using MatLab. can I get help, please?

Hi all,
I hope everyone is doing well and keeping safe. I was wondering, are there any Cody challenges for Simulink these days?
I saw a post from 2015 (https://blogs.mathworks.com/simulink/2015/08/07/modeling-and-simulation-challenge-in-cody/) and it seems there was a Simulink or "Modeling and Simulation Challenge" problem group, but I couldn't find this group anymore. Perhaps I missing something?
Thank you beforehand.
Tungky

This is a great presentation from 2 professors introducing how they use MATLAB in their physics courses. MATLAB Grader and Live Scripts are discussed in detail.

YouTube Video

Here is the abstract:

-----

Guest Presenters: Michele McColgan, Siena College and Duncan Carlsmith, UW Madison

The meeting will start with short presentations, and then we'll have time for questions and discussion in a colloquial setting. The presenters use MATLAB in their courses, and this meeting will provide a good opportunity to see the functionality that MATLAB affords. However, the presenters' approach to integrating computation is relevant generally; thus, this meeting should be of great interest, even if you are not a MATLAB user.

-----

Webinar from PICUP .

Is anyone else disappointed with uifigures? It seems apparent that these will eventually replace traditional figures, but there is still so much that doesn't quite work. I've tinkered with uifigures since their introduction in release 2016a, but even in 2020a I can't reliably export a uifigure to a graphics file. Sure it works sometimes, but not if a uipanel is present. The exportgraphics command is not as powerful as the print command, leaving some graphic formats (such as *.svg and *.eps) unsupported. How do you generate graphic files of a specific size? You can't even use subplots without overriding the default AutoResizeChildren setting!
Everything with uifigures seems to be slower and less stable than the figure variant. App Designer is much better than GUIDE, but that is not exactly high praise. I would rather generate "apps" programatically across several files instead of dealing with a single-file class definition containing 1000+ lines.
Where is this transition going? MATLAB graphics are moving away from Java in favor of JavaScript, and I'm not sure that we are at all ready for that.

WiDS Datathon 2021 is going on right now. The focus of the Datathon this year is "on creating models to classify whether patients have been diagnosed with a certain type of diabetes." You can register and participate until March 1.

Also, take a look at this blog post on the MATLAB benchmark code for this datathon.

MATLAB Benchmark Code for WiDS Datathon 2021

There are also various online challenges by MathWorks that students may be interested. Here are the winners from last year's Simulink Student Challenge. There was also a MATLAB Online Live Editor Challenge a couple of years ago.

Hello , I wonder how to determine continous or discrete time modelling.For example if I want to run my model in MCU in this case discrete model is suitable?I am a bit confused

MathWorks is please to offer a new training course, Power Electronics Control Design with Simulink and Simscape.

This one-day course focuses on modeling and controlling power electronic systems in the Simulink® environment using Simscape Electrical™. Topics include:

  • Modeling direct current (dc) power electronic components
  • Controlling the level of fidelity in a model
  • Developing controls for power electronics
  • Modeling three-phase alternating current (ac) power electronic components
  • Controlling power electronics for motor drive applications

Hi everyone,

I am a third year BEng Energy Engineering student. I am looking at the design, modelling and peformance of an HVDC power converter for use in offshore wind for my final year dissertation. Power electronics is a new area for me and I am also new to simulink/ simscape elctrical.

Could anyone provide some useful examples of MMC (in particular rectifiers), or some advice for designing in simscape electrical. I am struggling with the design of PWM control especially. I aim to make a scaled down version of the MMC in Simulink but so far have had no luck. If anyone can help I would be really appreciative.

Thanks in advance.

Joe

Hi everybody!I've realized a DC/DC Buck Converter Model with closed loop control system. I need to limit the overshoot in the step response of the submitted system. I've already tried to tune the controller in the PID Tuner by manually adjusting the overshoot by moving the response time slider, as it is said in this article: https://it.mathworks.com/help/slcontrol/gs/automated-tuning-of-simulink-pid-controller-block.html The problem is that it is not accurate. I manage to get an overshoot of 4.77% or 5.4%, whereas i need to set the parameters in order that the overshoot is 5%. Should I use TuningGoal.Overshoot? How am I supposed to do? How should I set the input and output in my model? I've read Matlab documentation but I didn't catch that. Thanks in advance!

I am currently working on simulink online but I cannot maximize the screen

Just making sure people are aware of our new Onramp courses. These are great self-learning resources for students.

Released a few months ago:

Released this month:

How do you teach subjects like Programming and Numerical Computing hands-on in these challenging times?

Prof Chiranjoy Chattopadhyay at the Dept of Computer Science and Engineering at IIT Jodhpur shares his innovative approach to teaching at a distance in this new Technical Article on Teaching Parallel Computing Online with MATLAB.

The course utilized MATLAB Online , MATLAB Onramp and MATLAB Grader to train students in the basics of technical computing, in addition to using a Hands-on Online GPU workshop organised with the MathWorks Education Team. As a result of this approach to distance teaching, the students have reported good levels of understanding in the main learning outcomes of this course, as indicated in the survey results (below):

Please consider trying out the links above to check if your course might benefit from a similar approach, and feel free to message us if you are interested in learning more.

Jiro Doke
Jiro Doke
上次活动时间: 2020-11-30

I just highlighted an app on File Exchange for emulating an experiment. Great idea for doing lab classes with software. What I like about this app is that it incorporates statistical variance and measurement noise that comes from physical experiments.

Read more about it here:

https://blogs.mathworks.com/pick/2020/11/20/emulating-a-physical-experiment-of-measuring-mms/

I see this solution on the Cody solutions list. Solution 1949216
I am puzzled as to how this could possibly be rated as correct (size 48)
(BTW - I am pretty sure I saw this, or similar, before.)
function ans = fileread(varargin)
' ';
a=1;
b=3;
a=1;
b=3;a=1;
b=3;a=1;
b=3;a=1;
b=3; end

Hi everyone, I'm trying to estimate the Frequency Response of a buck converter. I've found this article: https://it.mathworks.com/company/newsletters/articles/estimating-the-frequency-response-of-a-power-electronics-model.html I've adapted the procedure to a buck converter and followed the instructions but something went wrong. In the last step I've performed a time-domain verification in a Simulink® simulation with the switch-mode buck converter and a Transfer Function block implementing the parametric estimation and compare the response of both systems to the same small perturbation signal but the estimated model response doesn't match the switching model response. I don't know why I've got a diverging systems. I've tried to reduce the load and modify the duty cycle but nothing changed. How can I fix it?

In the link below (File Exchange), you'll find an example with an electric motor supplied by a fuel cell stack (Simscape implementation) and a battery. When motor load is low-to-normal, the fuel cell provides excess energy, that is used to recharge the battery. At motor peak load, the battery needs to contribute in order to complete the expected duty. If you have any query or thoughts, please reach me at jsagardu@mathworks.com

https://www.mathworks.com/matlabcentral/fileexchange/59343-fuel-cell-battery-driven-electric-motor-h2-transfer

I would like to plot 2 discrete vectors on one graph created as follows: u=1; X={u,2*u,3*u,4*u,5*u,6*u,7*u,8*u,9*u}; Y={u,3*u,5*u,-u,-6*u,u-u,u^2,u^3,u^4}; stem(X,Y) unfortunately system returns error how to do it properly?