Home - MATLAB Central

An open exchange for the MATLAB and Simulink user community


Hello, In Simulink I cannot able to follow the following steps " Open the Linear Analysis Tool by selecting Control Design Linear Analysis from under the Analysis menu at the top of the model...

2

answers

Dear MathWorks Community, I am conducting research on HVDC transmission systems, and I found your example "Thyristor-Based HVDC Transmission System Average Model" very useful for my studies. 🔗 Example link: ...

0

answer

I have a model that is extremely repetitive that I want to make more effecient, easier to change, and reduce likelihood of mistakes. It's a bunch of if else statements that are set up similarly but have varying parameters that represent different probabilities. Here's a snippet to try an...

2

answers

I entered the following code: syms x y z S2 S h H R R2 AA t t2 OJ b r eqns = [ S==x+y+z, y^2==4*R^2+4*(R2)^2-8*R*(R2)*cosd(b), x^2==r^2+h^2, r/R==h/H, r/R==x/S, AA==2*S*sind(0.5*t), t==360*R/S, t2==360*(R2)/(S2), S*sind(0.5*t)==(S2)*sind(0.5*t2), OJ==S*cosd(0.5*t), t==360*r/x z==4.2, b==12, r==1...

2

answers

Mohamed

Tags:
Thumbnail

Hello. I have a big chunk of code, here is a part of it (arrays a, b and c, indeces ind1 and ind2 are actually different, its just an artificially constructed example): n = 10000; m = 5000; k = 20; a...

2

answers

This MATLAB function, off_set, computes a plane equation that best fits grayscale intensity values in an image, using three given intensity

Thumbnail

Provided in this repository are the program and data files relevant to a novel ellipse fitting algorithm.

Thumbnail

Matlab code for linear interpolation without using in-built interp1 function.

Thumbnail

Simulink Flightgear 6DoF simulation with full state feedback controller.

Thumbnail

With 2025 well underway, we are taking a moment to reflect on the milestones of MathWorks startup program in 2024. Here's a look by the numbers: In 2024, we worked with over 900 new startups,...

Thumbnail

As we celebrate the 30th anniversary of Dynare, we at MathWorks would like to take a moment to reflect on its influence on the global economics community. Developed by Michel Juillard, Dynare has been a cornerstone in computational economics, enabling researchers and policymakers worldwide to model ...

Categories:
Thumbnail

On 27th February María Elena Gavilán Alfonso and I will be giving an online seminar that has been a while in the making. We'll be covering MATLAB with Jupyter, Visual Studio Code, Python, Git and...

0

reply

Check out the result of "emoji matrix" multiplication below. vector multiply vector: a = ["😁","😁","😁"] b = ["😂"; "😂" "😂"] c = a*b matrix multiply matrix: matrix1 = [ "😀", "😃"; "😄", "😁"] m...

3

replies

In computer vision, pretrained models are often used and adapted to the task at hand by performing transfer learning. Transfer learning involves modifying and retraining a pretrained network with your data. Most pretrained models are trained on large, colorful image datasets like ImageNet. But how ...

Categories:
Thumbnail

You recently bought an electric kettle for your kitchen, and you want to estimate how much it costs to run every month. The kettle operates at 230V and consumes 2000W (or 2kW) when in use. You...

Tags:

A voltage divider is a simple circuit used to obtain a reduced voltage from a higher voltage source using two resistors in series. The output voltage (Vout​) is given by the formula:​​Where:Vout​ is...

Tags:

In an electrical circuit, the current (III) flowing through an LED is determined using Ohm’s Law:​​Where:I is the current in amperes (A)V is the supply voltage in volts (V)Vf​ is the forward voltage...

Tags:

The energy (EEE) stored in an inductor is given by the formula:Where:E is the energy in joules (J)L is the inductance in henrys (H)I is the current in amperes (A)Write a function that takes...

I am looking for a Simulink tutor to help me with Reinforcement Learning Agent integration. If you work for MathWorks, I am willing to pay $30/hr. I am working on a passion project, ready to start ASAP. DM me if you're interested. TUTOR NEEDED!! OFFER $20/hr!!

0

reply

Bitte um Hilfe beim Kauf Wie kann ich eine MATLAB Student Suite Lizenz kaufen, wenn ich keine Kreditkarte habe? Approximate translation: How can I purchase a MATLAB Student Suite license if I don't have a credit card? Request help with purchase

1

reply

So, in my attempt to add a settings feature to my web app, I have managed to add a settings tab with one uicontrol. When it's value is changed, it saves its value to a MAT file. Next, when the app...

Thumbnail

In a Battery Management System (BMS), the lifetime of a battery depends on various factors, including the Depth of Discharge (DoD), load profile, and the battery's cycle life. The cycle life of a battery is the number of complete charge-discharge cycles the battery can undergo before its cap...

Mike is spreading some MATLAB Valentines joy over on the MATLAB Blog. Here is MathWorker Jonathan Gale's ode to the Mapping Toolbox and the Bonne spherical projection. What would your caption for...

Categories:
Thumbnail

Be Part of MATLAB Central

Community Video
MATLAB Answers

Ask & Answer questions about MATLAB & Simulink!

File Exchange

Download or contribute user-submitted code!

Cody

Solve problem groups, learn MATLAB & earn badges!

Blogs

Get the inside view on MATLAB and Simulink!

Discussions

Connect with fellow users!

AI Chat Playground

Use AI to generate initial draft MATLAB code, and answer questions!

Go to top of page