MATLAB 및 Simulink 사용자 커뮤니티를 위한 열린 지식 공유의 장입니다
I'm running into the error " Error using type Too many output arguments" when I run the code I've pasted below. I;m not sure what this error means and can't find similar situations online. This is...
1
answer
Context: I am using MATLAB R2021b with the System Composer toolbox and would like to export the architecture view of a component (e.g., from the Architecture Diagram) as an image file (e.g., PNG, JPEG, or PDF). However, I have not found a straightforward method to accomplish this. Attempted Solu...
0
answer
My textbook says that the invers Z transform is My code says the invers is simply k syms z k E1 = z/((z-1)^2); e1_k=iztrans(E1,k)
1
answer
I'm having my data routed from Blues Notehub to ThingSpeak and it works fine, as long as there is only one data point being routed. If there are more than one, the rest do not arrive and ThingSpeak...
1
answer
Hola a todos, quisiera saber si alguna persona a presentado este caso: Al crear un script no deja escribir código, sale todo en blanco. En este caso el Script untitled5 lo cree pero como lo pueden...
0
answer
A full rank update version of the secant method (t-secant) is given in single variable case.

We recently hosted a technical webinar focused on climate transition risk, specifically assessing climate impacts on credit risk. Elre Oldewage and Sara Galante, both application engineers at MathWorks presented the work our team has been doing in this space and how we can assist our customers who a...

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. MATLAB Graphics supports 3D shapes and lighting properties, but the light objects don't cast shadows. Let's explore a way to...

Live Script that explores a two-step method to fit data to a sum of sinusoidal signals.

The "dsi" identifies polynomial models via a pipeline: term generation, structure detection, parameter estimation, and dynamic validadation.

GOA is a nature-inspired metaheuristic optimization technique that simulates the adaptive foraging behavior of goats.

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 &...
1
reply
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
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
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...

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

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

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...
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...
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...
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...
Almost immediately after the DeepSeek-R1 AI models were made available to the world, people started asking how you can use them in MATLAB. Late last week, Vasileios Papanastasiou, a software test engineer at MathWorks, posted how to do this on LinkedIn and this morning I tried out his instructions f...

Try new Beta features to create, visualize, and run pipelines for machine learning workflows.

On 3 of my students' laptops that have Matlab installed, regardless of whether I use the publish function in the Command Window, or the publish tab at the top, I cannot get Matlab to generate a pdf. It gives me the same error on all 3 laptops: Error using mlreportgen.re.internal.xml.transfor...
5
answers
This curriculum module contains interactive examples that teach fundamental concepts of power electronics.

In this blog post we are going to show you how to use the newest MATLAB functions to: Import models from TensorFlow and PyTorch into MATLAB Export models from MATLAB to TensorFlow and PyTorch This...

Everyone's talking about Large Language Models (LLMs) and a huge number of you are using them too. Here are 4 ways to make use of them in the MathWorks ecosystem right now, no matter what your skill...

During an online meeting with my colleagues in Boston yesterday, some of them were rather startled when their offices started violently shaking for a brief time! We quickly hopped onto BlueSky (Feel free to follow me there) where we saw thousands of messages referring to what everyone suspected was ...

Back in April last year, I announced the MATLAB extension for Visual Studio Code on The MATLAB Blog and everyone at MathWorks was blown away by its popularity. In less than a year there have been...

This model demonstrates an ESS powered by solar which integrates renewable energy sources with an efficient battery storage mechanism

This topic is for discussing highlights to the current R2025a Pre-release. R2025a Pre-release highlights One of the changes is the built-in support for Dark Mode and Themes. Personally I find Dark...
65
replies
In the past two years, large language models have brought us significant changes, leading to the emergence of programming tools such as GitHub Copilot, Tabnine, Kite, CodeGPT, Replit, Cursor, and many others. Most of these tools support code writing by providing auto-completion, prompts, and sugg...
8
replies
You've probably heard about the DeepSeek AI models by now. Did you know you can run them on your own machine (assuming its powerful enough) and interact with them on MATLAB? In my latest blog post, I...
2
replies
Starfish Optimization Algorithm (SFOA) is a novel bio-inspired metaheuristic for solving optimization problems.

Hello everyone, I’m planning a new PC build and am currently undecided about which CPU to choose. I understand that AMD CPUs have faced some slower performance in MATLAB due to Intel MKL but I...
4
answers
On 27th February María Elena Gavilán Alfonso and I will be giving an online seminar that has been a while in the making. We'll be covering MATLAB with Jupyter, Visual Studio Code, Python, Git and...
0
reply
Vehicle templates with multibody suspension and electric powertrain sized for Formula Student competitions.

Remove the row that contain the max value in the matrix?If you like the problem, please like it :) %%x = [1 2 3 4 5 6 ...
Hello, I have been encountering several times a day for a few weeks an error when updating my data stored on Thingspeak (computerized hive parameters). The return code of my Arduinos is 211! But I...
8
answers
Delete rows with specific properites as following:Find rows that have a negative value in any element of the row and delete it.Check if the last element of the row is equal of bigger than 24 and...
Hey everyone! I recently came across a bug on ArchLinux when using MATLAB. Since some time (about last week or 2 weeks ago), everytime I try and startup MATLAB (either from cmd, or application shortcut) I get the following error: Command `service` threw an exception Error loading /home/timey/.Ma...
3
answers
Hey everyone, I'm reaching out to see if anyone else has experienced similar issues or might have some advice. I've been running MATLAB 2023b on my Windows desktop, and it keeps crashing unexpectedly. What's puzzling is that the same code runs perfectly fine on my laptop, so I'm ...
1
answer
Explore Community Areas
Ask & Answer questions about MATLAB & Simulink!
Download or contribute user-submitted code!
Solve problem groups, learn MATLAB & earn badges!
Get the inside view on MATLAB and Simulink!
Connect with fellow users!
Use AI to generate initial draft MATLAB code, and answer questions!