MATLAB および Simulink ユーザー コミュニティのオープンな情報交換
does anyone give idea how to setup a hf transformer in simulink
0
回答
I can convert a string to double using str2double, but my goal is to identify such cells. Attached is an example file. A = readcell('test6.xlsx'); As you can see, some cells on the 2nd column meet this criteria. Many thanks.
0
回答
I have following issue. I have SWC architecture is done based on arxml from DaVinci tool. It worked fine in Matlab 2023b, but in 2024 and 2025 version it is throwing this kind of error with empty...
0
回答
I am trying to explore A* algorithm which is built-in MATLAB algorithm, but when creating enviornment for simulation and then show the outcome of the planner the result is flipped compared to...
0
回答
Clc Clear wordapp=actxserver (’word.application’); wordapp.visible=1; doc=wordapp.Documents.Add; paramod=doc.Paragraphs; paranoid.alignment=1; For i=1:5 para=paramod.Add; paraman=para.Range; paraman.Text=’سلام’; paraman.Font.Size=16*I; paraman.InsertParagraphAfter; end end
1
回答
Exponential PID controller acting as a nonlinear controller for performance betterment

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
返信
Numerical solution of 1D heat conduction through a Slab of thickness L

Over the last 5 years or so, the highest-traffic post on my MATLAB Central image processing blog was not actually about image processing; it was about changing the default line thickness in plots....
8
返信
MATLAB LCOE analysis with examples for offshore wind, hydropower, and Monte Carlo simulations.

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

Is pure electric or hybrid the future? This has been a topic of debate in the industry. Today, we invite Hao Zheng, a technical officer from the China Society of Automotive Engineers and the Formula...

To develop uifigure-based app, I wish MATLAB can provide something like uiquestdlg to replace questdlg without changing too much of the original code developed for figure-based app. Also, uiinputdlg - inputdlg and so on. Need to have easy uifigure replacement for inputdlg, export2wsdlg et...
1
返信
A look at the structure, and the eigenvalues and singular values of interesting test matrices.

So, I think I have finished the work to add a settings feature to my app. Now I want to write some more interactive tests to make sure it's working correctly. Features covered in this code-along...

It is time to support the cameraIntrinsics function to accept a 3-by-3 intrinsic matrix K as an input parameter for constructing the object. Currently, the built-in cameraIntrinsics function can only be constructed by explicitly specifying focalLength, principalPoint, and imageSize. This approach...
1
返信
Learn the basic of quantum computing, how to simulate quantum circuits on MATLAB and how to run them on real quantum computers using Amazon Braket. There will also be a demonstration of machine learning using quantum computers! Details at MATLAB-AMAZON Braket Hands-on Quantum Machine Learning Wor...
0
返信
MATLAB makes it easy to integrate Python®-based AI models into your MATLAB and Simulink workflows. You can call PyTorch® and TensorFlow™ models - or any Python code - directly from MATLAB. For example, you can compare Python-based models to evaluate their accuracy and performance as part of the AI ...

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

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

Do you conduct research on 'Engineered Systems'?If you are in the business of building or conducting research on 'Engineered Systems' there's a good chance that you are a user of MathWorks' tools. At MathWorks we talk about 'Engineered Systems' all the time but I don&...

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

This week I received a series of interesting questions on the basics of putting together a simulation of a control loop involving a Simscape continuous plant and a discrete controller. The questions are summarized in this image:Here are my answers to those questions.Discrete ControllerI recommend im...

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...
68
返信
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...
12
返信
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...
5
回答
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...
1
返信
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
返信
This curriculum module contains interactive examples that teach fundamental concepts of power electronics.

Pretrained YOLO v8 networks for object detection and segmentation in MATLAB, with support for importing Python YOLO v8 models.

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 ...
Hi, I'm solving a system of equations . x=null(A); The problem is that due to a very wide range of values in the A matrix () the roundoff error result in inacceptably large relative errors in the...
3
回答
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...
9
回答
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...
I 'm using contour option in Matlab R2014a to plot many curves: contour(x,y,c,cilevels); with cilevels = [0.0,.005,0.019]; but I need to select one curve (level) from the contour: the option peaks is not working? and I have tried : contour(x,y,c,[1 1]); but it was error also? could you pleas...
2
回答
Hello, after logging into my Matlab Online account I get an error like: Oops! This page is currently unavailable. We're sorry, but you can't access this page at the moment. This might be due to: The requested resource is unavailable An incorrect URL was entered Insufficient privileges Co...
1
回答
コミュニティの分野を探索する
MATLAB と Simulink について、質問したり回答する
ユーザーが投稿したコードをダウンロードしたり、コードに貢献する
問題グループを解決し、MATLAB を学習してバッジを獲得する
MATLAB と Simulink について、さらに詳しく知りたい方へ
他のユーザーとつながろう!
AI を使用して最初のドラフト MATLAB コードを生成し、質問に答えます。