MATLAB 및 Simulink 사용자 커뮤니티를 위한 열린 지식 공유의 장입니다
A minimum length 2D planar bell nozzle is designed using MOC
![Thumbnail](/matlabcentral/mlc-downloads/downloads/74301faa-330f-4e37-87ea-8a2bf32bb148/5a5bfe73-b8a2-40ed-9e25-f64f822495ae/images/screenshot.png)
Ka.Race.Ing-Team at Karlsruhe Institute of Technology volunteered to share in depth and hands-on their approach around vehicle controls and torque vectoring in particular. They are winners of the Simulink Student Challenge 2016. And to top it all off, Julian our guest blogger today, added two of the...
![Thumbnail](https://blogs.mathworks.com/student-lounge/wp-content/blogs.dir/16/files/2017/11/thumbnail_title-1.png)
© kreutzweise.de Great ideas don’t always stand the test of time. It may be due to some drawbacks that knock out the great advantage, or it simply is too expensive or difficult to implement. The following article will share a contradicting example. Enjoy this engineering success story of originalit...
![Thumbnail](https://blogs.mathworks.com/student-lounge/wp-content/blogs.dir/16/files/2018/02/Y0A7464-Edit-1-e1517563689357.jpg)
MATLAB code for dimensionality reduction, fault detection, and fault diagnosis using KPCA.
![Thumbnail](/matlabcentral/mlc-downloads/downloads/830f7424-cfc6-4e11-a75a-5717d6aceb1a/e30800d6-fc99-43d3-a092-c0e027c9887c/images/1620937000.png)
Solar Position Algorithm for Solar Radiation Applications
![Thumbnail](/matlabcentral/mlc-downloads/downloads/submissions/59903/versions/2/screenshot.gif)
Open Source Simulation Package for MATLAB
![Thumbnail](/matlabcentral/mlc-downloads/downloads/9b77dac5-a36f-4fe7-b336-3026b3daf821/1bf32ecb-57f5-422b-87bc-ff2e76a50f5e/images/1625510508.png)
Model used in the "Understanding Kalman Filters, Part 7: How to Use Extended Kalman Filter in Simulink" video
![Thumbnail](/matlabcentral/images/default_screenshot.jpg)
Download code and watch video series to learn and implement deep learning techniques
![Thumbnail](/matlabcentral/mlc-downloads/downloads/submissions/62990/versions/3/screenshot.png)
Model used in the "Understanding Kalman Filter, Part 6: How to Use a Kalman Filter in Simulink" video
![Thumbnail](/matlabcentral/images/default_screenshot.jpg)
A toolbox for the computation of the Fast Marching algorithm in 2D and 3D.
![Thumbnail](/matlabcentral/mlc-downloads/downloads/submissions/6110/versions/3/screenshot.jpg)
abfload imports data in the Axon abf format (three different recording modes).
![Thumbnail](/matlabcentral/images/default_screenshot.jpg)
Hi I've a question about matlab simulink when I run a code, there are message "MATLAB cannot run this file because c:\~~~ shadows it. delete shadowing file and try again" what's the problem? And why this happen??
4
answers
How can I download 2011b version of MATLAB?
5
answers
This keeps coming up as an error, what am I doing wrong? prompt= 'State your name, Your Grace '; name=input(prompt);
2
answers
Hello , I want to concatenate string and number in for loop requestID = Req_Check; for k = 1 : 10 requestID = requestID +1; end I am expecting requestID after for loop like Req_Check_1, Req_Check_2 ...Req_Check_10 How can I do this?
3
answers
I installed MATLAB and now, I buy new toolbox. To install new one, should I reinstall MATLAB? or can I install new toolbox only?
3
answers
Adds new utilities to Fuzzy Control System Toolbox interesting for Fuzzy Control Systems.
![Thumbnail](/matlabcentral/images/default_screenshot.jpg)
Simulate articulated robotic arm
![Thumbnail](/matlabcentral/mlc-downloads/downloads/submissions/58255/versions/1/screenshot.png)
Today I’d like to introduce a guest blogger, Jiro Doke (email: Jiro.Doke@mathworks.com), who is an applications engineer here at The MathWorks. He used MATLAB in his life prior to The MathWorks, and one of his interests is data visualization. Contents Load Data Create Basic Plot Adjust Line Prope...
![Thumbnail](https://blogs.mathworks.com/images/loren/118/pubQualityGraphics_01.png)
it use Machine Learning in MATLAB to predict the buying-decision of Stock by using real life data.
![Thumbnail](/matlabcentral/mlc-downloads/downloads/90659e8b-6c27-4b84-889c-b1299afe3c67/0fc4e584-68a8-4a9b-a220-7f8e28db7b5e/images/screenshot.png)
Remove element(s) from cell array You can easily remove an element (or a column in any dimension) from a normal matrix, but assigning that value (or range) empty. For exampleA = 1:10A(5) = []results in1 2 3 4 6 7 8 9 10You task is to find the shortest, elegant, way in Matlab to do the same for cell ...
hai.. how to save image that pop up at frame show figure. I try to used this function,but the saved image not follow the dimension(X x Y) of original image. saveas(gcf,'mask_image.jpg', 'jpg') thank
1
answer
04 - Scalar Equations 1 Define the variable a:<<http://samle.dk/STTBDP/Assignment1_4-a.png>> Use this to calculate x:<<http://samle.dk/STTBDP/Assignment1_4a.png>> %%a=10;ref = 1/(1+exp(-(a-15)/6));user = MyFunc();assert(isequal(user,ref))%%[x a] = MyFunc();assert(a==10); func...
Length of the hypotenuse Given short sides of lengths a and b, calculate the length c of the hypotenuse of the right-angled triangle.<<https://i.imgur.com/73mQn4N.png>>Image courtesy of <http://upload.wikimedia.org/wikipedia/commons/7/7c/Right_Angle_Triangle.svg Wikipedia>. %%a = 1...
Simple and straight-forward implementation of DH-parameters in MATLAB.
![Thumbnail](/matlabcentral/mlc-downloads/downloads/submissions/56917/versions/8/screenshot.jpg)
Hi! I think my problem is very simple. I have some boolean expressions in my code, which the results will always be 1 or 0 (true or false). Here are some examples: data=data+(-1*(~mat(i)&&mat(j)&&mat(k)))||(~mat(i)&&~mat(j)); or data=data+(~mat(i)); I have to convert these l...
3
answers
How do I generate a MATLAB license file on the MathWorks website? kA031000000XYGgCAO 000066423
1
answer
Hi, I have been working on identifying the wear in rollers, sprockets and chain links for excavator machines. So far I have tried classical image processing tecchniques like edge detection and creating binary images on masked images but the results are not satisfactory. I am looking for suggesti...
0
answer
Hi, I have a kalman filter implemented in simulink. The filter is tested in a simulation environment works pretty well. Now i have sensor data from different sensors. Since sensors have different...
0
answer
Guys, do you know how to retrieve the requirement information linked to an assessment step? Normally slreq.outLinks function works for blocks. But I couldn’t make it for the test assessment step. Anyone help?
0
answer
how to get a customised ouput PWM signal from this epwm block where, How to generate this type of PWM signal from epwm block using Matlab simulink and get same result on DSO with F28379D. I want to...
0
answer
For Valentine's day this year I tried to do something a little more than just the usual 'Here's some MATLAB code that draws a picture of a heart' and focus on how to share MATLAB code. TL;DR, here's...
0
reply
I am using virtual vehicle composer, i am gettting the output of SoC as constant value i set, which must be gradually decreasing instead of remaining constant. I guess this is because of ideal voltage source. How can we overcome this.
0
answer
In a Battery Management System (BMS), the State of Health (SoH) of a battery is an indicator of its overall condition. It is calculated by comparing the current capacity of the battery with its...
In a Battery Management System (BMS), the efficiency of battery charging can be estimated using the formula:where: is the energy stored in the battery during charging (in watt-hours, Wh) is the total energy supplied to the battery (in watt-hours, Wh)Efficiency is expressed as a percentage (%)W...
In a Battery Management System (BMS), the voltage drop (V_drop) due to the load can be calculated using the formula:V_drop=I×Rwhere:I is the current drawn from the battery (in amperes, A)R is the internal resistance of the battery (in ohms, Ω)V_drop is the voltage drop across the battery due to...
In a Battery Management System (BMS), the estimated discharge time (T) of a battery can be calculated as:where: is the current charge in ampere-hours (Ah)I is the constant discharge current in amperes (A)T is the estimated time before the battery is fully discharged (in hours)Write a function...
b-d-Lawson is a method for the interpolation constrained rational minimax approximation.
![Thumbnail](/matlabcentral/images/default_screenshot.jpg)
On my computers, this bit of code produces an error whose cause I have pinpointed, load tstcase ycp=lsqlin(I, y, Aineq, bineq); Error using parseOptions Too many output arguments. Error in lsqlin (line 170) [options, optimgetFlag] = parseOptions(options, 'lsqlin', defaultopt); ^^^^^^^^^^^...
2
replies
Some functions for cyclic manipulation of data, together with some acoustic data.
![Thumbnail](/matlabcentral/mlc-downloads/downloads/3687fed3-a875-4cc3-bcdb-947bfedc37b8/629aaec3-26e0-4395-a7c3-5bd63b391a45/images/1739467644.png)
General observations on practical implementation issues regarding add-on versioning I am making updates to one of my File Exchange add-ons, and the updates will require an updated version of another add-on. The state of versioning for add-ons seems to be a bit of a mess. First, there are several ...
2
replies
I've been sharing mathematical equations with some sort of connection to Valentine's day for a long time now. Indeed, the first time I did it was 17 years ago on my old WalkingRandomly blog and I've repeated variations of this several time since. It's a very obvious social media post...
![Thumbnail](http://blogs.mathworks.com/matlab/files/2025/02/rotatingHeart.gif)
Fuzzy Logic Tools (FLT) is a C++ framework for storage, analysis and design of fully general multiple-input multiple-output (MIMO) Takagi-Su
![Thumbnail](/matlabcentral/images/default_screenshot.jpg)
Los invito a conocer el libro "Sistemas dinámicos en contexto: Modelación matemática, simulación, estimación y control con MATLAB", el cual estará disponible pronto en formato digital. El libro integra diversos temas de los sistemas dinámicos desde un punto de vista práctico utilizando ...
0
reply
In today's blog, Khushin Lakhara from the Student Programs team at MathWorks will explore the concept of sensitivity analysis and its significance in engineering design. Over to you, Khushin... For this blog, our attention will be on the student competition score function, especially competiti...
![Thumbnail](https://blogs.mathworks.com/student-lounge/files/2025/02/Social-Media-Collateral-scaled.jpg)
Simulink has been an essential tool for modeling and simulating dynamic systems in MATLAB. With the continuous advancements in AI, automation, and real-time simulation, I’m curious about what the future holds for Simulink. What improvements or new features do you think Simulink will have in the c...
0
reply
LUTool provides an interactive animation of Gaussian elimination, the most important algorithm in technical computing.
![Thumbnail](https://blogs.mathworks.com/cleve/files/LUTool_ico.png)
I maintain some MATLAB web apps that are used internally by other MathWorkers. For one of the apps, I want to allow users to save default settings for the app's behavior. I think I will provide this...
![Thumbnail](https://blogs.mathworks.com/videos/files/thumb-play-arrow-11.jpg)
The following blog was written by Marshall Alphonso Principal Engineer and Sara Galante, Senior Finance Application Engineer at MathWorks Watch the full webinar Custom Portfolio Optimization: Balancing Objectives, Constraints, and Efficiency here, download the slides or download the code here. Por...
![Thumbnail](http://blogs.mathworks.com/finance/files/2025/02/custom-1024x662.png)
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...
61
replies
Try new Beta features to create, visualize, and run pipelines for machine learning workflows.
![Thumbnail](/matlabcentral/mlc-downloads/downloads/a7791dc8-a7fe-4eda-b23e-ab0e8a6a9338/88706cb1-25ac-4633-95c0-d1cb63d11291/images/1718917148.png)
Hi everyone The R2025a pre-release is now available to licensed users. I highly encourage you to download, give it a try and give us some feedback. The first thing I tried was switching to Dark mode. Here's the magic s = settings; s.matlab.appearance.MATLABTheme.PersonalValu...
6
replies
This curriculum module contains interactive examples that teach fundamental concepts of power electronics.
![Thumbnail](/matlabcentral/mlc-downloads/downloads/1d0fee91-998e-4a26-b5b3-61beac23c691/c0b9bf90-87b0-45f0-9c71-4e635c076cd7/images/1729801879.png)
Since its April 2023 launch, the MATLAB extension for Visual Studio Code has been extremely popular with over 329,000 installs via the Visual Studio Marketplace at the time of writing. Our development approach to this extension has been to release early and often, responding to feedback from the com...
![Thumbnail](https://blogs.mathworks.com/matlab/wp-content/blogs.dir/26/files/2024/12/VSCodeDebug_4.gif)
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...
![Thumbnail](https://blogs.mathworks.com/matlab/wp-content/blogs.dir/26/files/2024/10/llm_2.png)
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...
![Thumbnail](https://blogs.mathworks.com/matlab/wp-content/blogs.dir/26/files/2024/03/VSCodeRun_4.gif)
This model demonstrates an ESS powered by solar which integrates renewable energy sources with an efficient battery storage mechanism
![Thumbnail](/matlabcentral/mlc-downloads/downloads/346a3ff7-1638-443c-bd5c-3c874b58a0be/cbb3f4e4-d6db-41d4-98b0-699ae8904643/images/thumbnail.png)
Representing the culmination of millions of person-hours of work conducted by thousands of engineers around the world, the latest release of MATLAB is always something of a celebration here at MathWorks. R2024b is no exception with thousands of new features, updates, improvements and bug fixes acros...
![Thumbnail](https://blogs.mathworks.com/matlab/wp-content/blogs.dir/26/files/2024/09/r2024bRelease_ver3_4.gif)
Interactive module on signal processing theory and real-world applications.
![Thumbnail](/matlabcentral/mlc-downloads/downloads/77c23e0e-a84c-4b1f-815a-7880913488cf/7efe6c8f-09b7-468f-b594-7cb2b5f5322f/images/1724098053.png)
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
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
Star Trek may have introduced the masses to the concept of a warp drive, but early references to this mode of travel date back to the 1930s in Jack Williamson’s science fiction novel, The Cometeers. Warp drives have been sprinkled throughout science fiction, but the “science” part has remained elusi...
![Thumbnail](https://blogs.mathworks.com/headlines/files/2024/09/GettyImages-1400105417-1024x576.jpg)
Vehicle templates with multibody suspension and electric powertrain sized for Formula Student competitions.
![Thumbnail](/matlabcentral/mlc-downloads/downloads/d27ece47-e708-4932-8c87-08a086485d4e/9fee1390-5ecf-4fbf-8277-0cb162901f31/images/1725635395.png)
I am attempting to run MATLAB on my virtual machine. When I do so, however, MATLAB crashes with references to "vm3dgl64.dll" in the stack trace, such as the snippets below: [ 2] 0x00007ffd5899e3fe C:\Program Files\MATLAB\R2024a\bin\win64\libmwfl.dll+00058366 [ 5] 0x00007ffd3fd2c5bf C:\...
1
answer
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 a plot consisting of "square-ish" TTL pulses and I want to be able to 1: Extract the data thats in the "Zoomed" XLim, and then 2: Find the x-location of each rising edge at a certain...
1
answer
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 have three TEM images taken at different tilt angles, each showing grain boundaries. However, some grain boundaries are missing in each image. I need a MATLAB code to overlay or merge these three...
3
answers
We kmow OTF and PSF are continuous, can be interpolate inside it (cutoff freq ) even when we express them wIth matrix use integer row&col coordinate . now I have a image, and get its FFT2, and find...
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!