Home - MATLAB Central

Un intercambio abierto para la comunidad de usuarios de MATLAB y Simulink


Hello, I am an electrical engineering student currently working on analog filters, specifically cascaded Butterworth filter approximations, also known as Linkwitz-Riley filters. In my MATLAB code, I generate bandpass filters from individual high-pass and low-pass filters, which together form a c...

0

answer

What I wanted to achieve I would like to create a singleton-class (I called it Logger) to record logs to a file and output them into the command window. What exactly did I want to achieve: 1. Reduce...

0

answer

Assuming I have the forward velocity, rotational speed of the propeller, how do I insert these constants as signals to determine the output thrust? Is there a tutorial video I can follow to properly learn how to use this block?

0

answer

在SIMULINK中,该模型中含有扰动吗?如果有请问怎么使用除了设计观测器的方法测量,如果没有请问怎么添加扰动并且测量?

0

answer

Error using trainNetwork Invalid training data. For classification tasks, responses must be a vector of categorical responses. For regression tasks, responses must be a vector, a matrix, or a 4-D array of numeric responses which must not contain NaNs. %Data_Pipeline clc, clear, close all % Speci...

1

answer

Recently my iMac became sluggish. I checked Activity Monitor and found it was spending most of its time in mds_stores. I turned of Apple Intelligence under System Settings - Apple Intelligence & Siri, and its like new again. Wondering where your CPU cycles went? Check AI. macosx ai

Tags:

0

reply

Dew point, heat index, humidex, wet-bulb temperature, wind chill and apparent temperature calculation.

Thumbnail

Create shadows of your data on the sides of an Axes.

Thumbnail

The GCD approach to identify rough numbers is a terribly useful one, well worth remembering. But at some point, I expect someone to notice that all work done with these massively large symbolic...

0

reply

Yes, some readers might now argue that I used roughness in a crazy way in my last post, in my approach to finding a large twin prime pair. That is, I deliberately constructed a family of integers...

0

reply

The model demonstrates the mathematical relationship between the input impedance and the output load for a buck converter.

Thumbnail

How can we use roughness in an effective context to identify large primes? I can quickly think of quite a few examples where we might do so. Again, remember I will be looking for primes with not just...

0

reply

What is a rough number? What can they be used for? Today I'll take you down a journey into the land of prime numbers (in MATLAB). But remember that a journey is not always about your destination, but...

3

replies

This work develops a novel fuzzy adaptive forensic-based investigation algorithm (FAFBI)

Thumbnail

A new metaheuristic algorithm for global optimization called RRTO (RRT-based Optimizer) is proposed in this study.

Thumbnail

Econometric modeling is essential for analyzing economic data, making forecasts, and informing policy decisions, however, traditional approaches often require extensive coding expertise, making them inaccessible to many economists and analysts. With the Econometric Modeler app in MATLAB, you can bui...

Categories:
Thumbnail

Generative AI has become one of the most influential trends of recent years, powering tools like ChatGPT and Copilot that have transformed how we live and work. Beyond these domains, generative AI is also reshaping industries, and robotics is no exception. At MathWorks, we are excited to explore how...

Categories:
Thumbnail

In the world of Analog/Mixed-Signal Integrated Circuit (IC) design, transfer functions have long been the go-to method for representing and analyzing linear time-invariant (LTI) circuits. However, this traditional approach comes with its own set of limitations: Single-Input-Single-Output (SISO) Lim...

Categories:
Thumbnail

This week I received a series of interesting questions on the basics of putting together a simulation of a control loop involving a Simscape continuous plant and a discrete controller. The questions are summarized in this image:Here are my answers to those questions.Discrete ControllerI recommend im...

Thumbnail

Today's guest blogger is Francesco Bellucci, a PhD student in Mechanical Engineering at Department of Industrial Engineering of the University of Bologna. Francesco has a passion for helping young minds and has been actively involved in mentoring a team of young students, aged 13-14, from a se...

Thumbnail

In this problem, you are tasked with rotating a given matrix by 90 degrees in a counter-clockwise direction. The input will be a square matrix (i.e., the number of rows is equal to the number of...

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...

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