Home - MATLAB Central

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


does visadev support USB-RAW devices, or only USB-TMC?

Tags:

0

answer

Dear MATLAB users I have a problem with random numbers. When I call the rand and randn function many times with a very large argument, the random number sequence changes after a certain index as...

0

answer

I want to ask about plotting the synchronization between two systems b using matlab here is the code in maple with(plots); sys := diff(x(t), t) = a*(-x(t) + y(t)), diff(y(t), t) = b*x(t) -...

Tags:

0

answer

根据人类视觉特点,提供最显眼的作图配色方案

Thumbnail

Processes L1A data of SAR altimetry missions including CryoSat-2, Sentinel-3A/B and Sentinel-6MF.

Thumbnail

I’m trying to make multiple 3D histogram plots side-by-side. I think I need to use the bar3 function, but I don’t know what combination of code to use. Am I trying to make something that doesn’t exist in MATLAB?

1

answer

Hi everyone, I'm currently trying to make a model or just simply use existing model to analyse the voltage drop or votlage rise at each point of bus systems (or most people call it nodes) with...

0

answer

This MATLAB script trains a CNN for MNIST digit classification, achieving 90% accuracy.

Thumbnail

Interactively select one or more points in a scatter plot and identify row numbers in arrays or tables

Thumbnail

Code to reproduce the figures of paper "Robust Tobit Regression for Censored Observations Using Extended Box-Cox Transformations"

Thumbnail

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

Categories:
Thumbnail

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

Thumbnail

Do you boast about the energy savings you racking up by using dark mode while stashing your energy bill savings away for an exotic vacation🌴🥥? Well, hold onto your sun hats and flipflops! A recent...

3

replies

tiledlayout(4,1); % Plot "L" (y = 1/(x+1), for x -1) x = linspace(-0.9, 2, 100); % Avoid x = -1 (undefined) y =1 ./ (x+1) ; nexttile; plot(x, y, 'r', 'LineWidth', 2); xlim([-10,10]) % Plot "O" (x^2...

1

reply

I've been trying this problem a lot of time and i don't understand why my solution doesnt't work. In 4 tests i get the error Assertion failed but when i run the code myself i get the diag and antidiag correctly. function [diag_elements, antidg_elements] = your_fcn_name(x) [m, n] = siz...

Tags:

4

replies

Today's guest blogger is Francesco Bellucci, a PhD student in Mechanical Engineering at Department of Industrial Engineering of the University of Bologna. Francesco has a passion for helping young minds and has been actively involved in mentoring a team of young students, aged 13-14, from a se...

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

MATLAB has two different ways to compute singular values. The easiest is to compute the singular values without the singular vectors. Use svd with one output argument, s1. s1 = svd(A) The...

Thumbnail

With 2025 well underway, we are taking a moment to reflect on the milestones of MathWorks startup program in 2024. Here's a look by the numbers: In 2024, we worked with over 900 new startups,...

Thumbnail

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

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:

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

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