Home - MATLAB Central

An open exchange for the MATLAB and Simulink user community


Modeling option: Vapor operating condition Orifice type: Variable Opening characteristic: Linear Problem: I do not know how to reconcile the concepts of physical signal S, control member travel, maximum orifice area, in order to understand the actual fraction of orifice area that is open given a...

Tags:

0

answer

Hi, I have running code for 3-degre of fredoom builidng model. I was just wondeering how to clacute the base shear of the model. A simple code is given below. Can you please help me with that ?...

0

answer

clc; clear; close all; % Load the first image img1 = imread('AdiTech.jpg'); % First image img1_gray = rgb2gray(img1); % Convert to grayscale % Load the second image img2 = imread('Tema.png'); % Second image img2_gray = rgb2gray(img2); % Convert to grayscale % Apply edge detection...

1

answer

I want to fit a PK model with multiple datasets; every dataset has concentration time courses for different species in the model - how do I do this? The time points in each dataset are not...

1

answer

I was able to create a surf plot where values greater than 1000 are red and less than 1000 are blue. Is there a way that I could use different shades of red and blue depending how far away from 1000...

1

answer

📢 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

MPPT Boost

Thumbnail

x

Thumbnail

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

Obtiene parámetros dinámicos de registros de aceleración vs tiempo gráficamente y con la transformada rápida de Furier

Thumbnail

Live Script illustrating how to access Perplexity.AI API, open citation URLs, and create MATLAB codes.

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

Live Script illustrating hypothesis tests with a noisy sinusoidal signal.

Thumbnail

I have a ERS Co2 sensor. It is connected to the TTN and the TTN is receiving the data. I want to connect it to ThingSpeak. First, I used the payload uplink formatter recommended by the ELSYS company...

0

reply

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

This week's post is a suggestion from Raymond Estrada from MATLAB and Simulink Consulting Services. Raymond reached out recently to share a tip for verifying and validating logged signals in the code generated from Simulink.The ProblemIt's a common practice in the verification and validation...

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:

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!