Home - MATLAB Central

Un échange ouvert pour la communauté d'utilisateurs MATLAB et Simulink


I'd like to extract data along the 3rd dimension of a 3D matrix with the size of 2*2*10 using a window with a fixed size but a variable start indeces. But it doesn't work. Script: clc; clear; a =...

0

answer

I want to generate an s-function model from the model, but my model is a trige trigger, and there is a Clent and a server module in it, generating s-fucntion causes the following error: Cannot generate S-Function for this subsystem because the subsystem contains one or more Simulink Function blo...

0

answer

Good day, I am trying to emulate the works of Catalan and Thanh Le in their modelling of a methane pyrolysis reactor. I have attached their relevant papers should anyone be interested to read. The m...

Tags:

0

answer

Dear Expert, I have one data set as attached. Now the pixel value in blob is 0.182868, then the rest is 0. Anyone know how make it in the blop pixel is 0, the others is 1. Then save it in DICOM...

0

answer

Bonsoir, Je suis en train de finaliser Module 4 du cours "Designing and Simulating Physical Models" et j’ai quelques difficultés avec les derniers quiz, notamment ceux liés au projet Simulating Motor Heat Effects. J’ai suivi toutes les étapes du projet et compris l’utilisation des bloc...

0

answer

This curriculum module uses interactive examples to teach problem-solving from a systems-thinking perspective in engineering.

Thumbnail

Given a matrix A, write a function that returns the sum of all positive elements in A.Input: A = [-3, 4, -1; 6, -2, 8] Output: y = 18 %% Test 1A = [-3, 4, -1; 6, -2, 8];y_correct =...

Tags:

Implementation of photovoltaic array MPPT through fixed step predictive control technique

Thumbnail

A boost converter is a type of DC-to-DC converter that steps up the input voltage to a higher output voltage.

Thumbnail

MATLAB-Simulink model for Sensorless FOC, flux weakening control using Sliding mode observer (SMO) with MCLV-48V-300W and dsPIC33CH512MP508

Thumbnail

MATLAB-Simulink model for Sliding Mode Observer-based FOC with MCLV-48V-300W Development Board and dsPIC33AK128MC106 MC DIM

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:

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!