Home - MATLAB Central

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


I uploaded a 6Dof robotic arm rigid tree to matlab simulink , now i need to move the end effector in the shape ' M ' . How do i obtain the waypoints of the shape ' M '

0

answer

Hi, I want to click on the Y-tick label (such as click on AAA in the example below), and then design a callback function using the clicked label (AAA in this example) as input. The click should to be...

0

answer

3-Phase Bridge Converter with R Load using MATLAB Simulink for controlled DC output, waveform visualization, and performance analysis.

Thumbnail

Hi, I want to update the imagesc generated figure window, just update the pixel matrix values of same dimension size, but keep other things intact, including cplormap, colorbar, axis tick, axis label, annotation, text,... But the code below reset and remove everything: f = figure; imagesc([1,2,3...

Tags:

1

answer

This MATLAB program finds the root of f(x) = x² - 3 using the Bisection Method. It keeps dividing interval & checks the error at each step.

Thumbnail

Write 2D triangular finite element mesh to msh file. msh file is Gmsh mesh file format.

Thumbnail

Live Script illustrating how to access DeepSeek AI programmatically via API.

Thumbnail

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

📢 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

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

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!