Home - MATLAB Central

MATLAB 및 Simulink 사용자 커뮤니티를 위한 열린 지식 공유의 장입니다


Cynthia Brewer's ColorBrewer palettes, ported to MATLAB, with nice interpolation.

Thumbnail

A minimum length 2D planar bell nozzle is designed using MOC

Thumbnail

In this post, I will discuss robot modeling and simulation with Simulink®, Simscape™, and Simscape Multibody™. To put things in context, I will walk you through a walking robot example (get it?).

Thumbnail

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

© 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

MATLAB code for dimensionality reduction, fault detection, and fault diagnosis using KPCA.

Thumbnail

Solar Position Algorithm for Solar Radiation Applications

Thumbnail

Open Source Simulation Package for MATLAB

Thumbnail

Model used in the "Understanding Kalman Filters, Part 7: How to Use Extended Kalman Filter in Simulink" video

Thumbnail

Download code and watch video series to learn and implement deep learning techniques

Thumbnail

Model used in the "Understanding Kalman Filter, Part 6: How to Use a Kalman Filter in Simulink" video

Thumbnail

A toolbox for the computation of the Fast Marching algorithm in 2D and 3D.

Thumbnail

abfload imports data in the Axon abf format (three different recording modes).

Thumbnail

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?

Tags:

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?

Tags:

3

answers

Adds new utilities to Fuzzy Control System Toolbox interesting for Fuzzy Control Systems.

Thumbnail

Simulate articulated robotic arm

Thumbnail

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

it use Machine Learning in MATLAB to predict the buying-decision of Stock by using real life data.

Thumbnail

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

Roll the Dice! DescriptionReturn two random integers between 1 and 6, inclusive, to simulate rolling 2 dice.Example [x1,x2] = rollDice(); x1 = 5; x2 = 2; %%filetext = fileread('rollDice.m');illegal = contains(filetext, 'assignin') || contains(filetext, 'regexp');assert(...

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

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

Solving Karnaugh Map problems.

Thumbnail

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 charge rate (​) of a battery can be calculated using the formula:​​where:​ is the charge added to the battery (in ampere-hours, Ah)t is the time taken to...

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

Modelling and simulation of a quadruped robot in Simscape with tutorials

Thumbnail

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

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

This is the file of dynamic model of 2DoF robotic link

Thumbnail

Some functions for cyclic manipulation of data, together with some acoustic data.

Thumbnail

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

Fuzzy Logic Tools (FLT) is a C++ framework for storage, analysis and design of fully general multiple-input multiple-output (MIMO) Takagi-Su

Thumbnail

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

Categories:
Thumbnail

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

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

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

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!

Go to top of page