Home - MATLAB Central

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


データサイエンスの基礎として必須である統計解析を、基礎から学ぶ。その際に、統計解析の実際に直結するように、MATLABを使用し、プログラムコードもすべて公開する。

Thumbnail

I'm trying to use Matlab in a public (though not yet broadly shared) GitHub repository's "Actions" workflow. Specifically, I'm creating a Matlab-based Quarto "book" using the mkernel project, that I would like to render & publish via an action. It seems, howev...

0

answer

% Test adamupdate function clc; clear; % Define test parameters learnable = dlarray(randn(5, 1)); % Example learnable parameter gradient = dlarray(randn(5, 1)); % Example gradient state = []; % Initial state (empty) optimizer = trainingOptions('adam', 'InitialLearnRate', 0.01); %...

0

answer

Want to use sigStrength properly with input gain (and Not Directivity) pattern. clear all, clc, close all load("antenna_data.mat"); freq = 3e9; angles = test_antenna_pattern(:,1); gains = test_antenna_pattern(:,2); %[~, OT, ~] = patternFromSlices(gains,angles); ogg = interp1(angles,gai...

0

answer

i managed to instal matlab but when i try to run it i get this : MATLAB is selecting SOFTWARE rendering. Authorization required, but no authorization protocol specified Command `service` threw an exception Error loading /home/athanasios/.MathWorks/ServiceHost/-mw_shared_installs/v2024.13.0.2/ bi...

1

answer

I want to write the prime of this hankel function expansion, where , zeta, B0, ka are given, nu is complex which is also given in the question, How can I write the derivatiove of this Hankel function...

0

answer

Write MATLAB finite element mesh to popular mesh file formats

Thumbnail

aa

Thumbnail

Single-Phase Semi-Controlled Converter RL Load Efficient AC to DC conversion using thyristors and diodes, enabling partial voltage control.

Thumbnail

These codes provide simulation and experiments of SDRE + SMC of a rotary inverted pendulum.

Thumbnail

As hospitals integrate more advanced patient monitoring systems, the ability to process, analyze, and act on real-time medical data has become critical. Traditional monitoring systems generate large amounts of sensor data, but manually interpreting this data in real time is challenging for clinicia...

Thumbnail

Hi! I'm Joseff and along with being a student in chemical engineering, one of my great passions is language-learning. I learnt something really cool recently about Catalan (a romance language closely related to Valencian that's spoken in Andorra, Catalonia, and parts of Spain) — and that ...

Tags:

1

reply

📢 We want to hear from you! We're a team of graduate student researchers at the University of Michigan studying MATLAB Drive and other cloud-based systems for sharing coding files. Your feedback will help improve these tools. Take our quick survey here: Tak...

0

reply

Last year I discussed the collaboration between the open source optimization library, HiGHS and MathWorks. This included some exciting new integration of the HiGHS library with MATLAB which, among other things, is speeding up MATLAB's linear and mixed-integer programming solvers linprog and intl...

Thumbnail

Today, we’re sharing some predictions on what the startup ecosystem might look like in 2025. In no particular order, here are some of the key themes we anticipate: Corporate Engagement in Startups – We’ve seen a rise in large corporations interested in startups, not just through monetary investment...

Thumbnail

6G will unlock new use cases for wireless cellular networks, such as sensing and building digital twins. To support these innovations, integrating advanced link-level simulations with ray tracing delivers high simulation accuracy in performance evaluations. This combination enables precise modelling...

Categories:
Thumbnail

Imagine you are developing a new toolbox for MATLAB. You have a folder full of a few .m files defining a bunch of functions and you are thinking 'This would be useful for others, I'm going to make it...

2

replies

Add 2 to any number. %%x = 1;y_correct = 3;assert(isequal(add2(x),y_correct)) function y = add2(x) y = 2 + x;end easy

Tags:

Guest Writer: Eric Ludlam Joining us again is Eric Ludlam, development manager of the MATLAB charting team. Discover more about Eric on our contributors page. In the previous blog article, we...

Thumbnail

I am glad to inform and share with you all my new text book titled "Inverters and AC Drives Control, Modeling, and Simulation Using Simulink", Springer, 2024. This text book has nine chapters and three appendices. A separate "Instructor Manual" is rpovided with solutions to se...

0

reply

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:

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!