문제를 풀었습니다


Make the vector [1 2 3 4 5 6 7 8 9 10]
In MATLAB, you create a vector by enclosing the elements in square brackets like so: x = [1 2 3 4] Commas are optional, s...

대략 1년 전

문제를 풀었습니다


Finding Perfect Squares
Given a vector of numbers, return true if one of the numbers is a square of one of the numbers. Otherwise return false. Example...

대략 1년 전

문제를 풀었습니다


Return area of square
Side of square=input=a Area=output=b

대략 1년 전

문제를 풀었습니다


Maximum value in a matrix
Find the maximum value in the given matrix. For example, if A = [1 2 3; 4 7 8; 0 9 1]; then the answer is 9.

대략 1년 전

문제를 풀었습니다


Find the sum of all the numbers of the input vector
Find the sum of all the numbers of the input vector x. Examples: Input x = [1 2 3 5] Output y is 11 Input x ...

대략 1년 전

문제를 풀었습니다


Add two numbers
Given a and b, return the sum a+b in c.

대략 1년 전

답변 있음
I have to use Space vector modulation (SVM) technique for Current sourced Inverters. Can anyone suggest how I will start to simulate CSI by using SVM?
Hi Anik Baul, I understand that you want to simulate a Current Source Inverter (CSI) using Space Vector Modulation (SVM) in MA...

대략 1년 전 | 0

문제를 풀었습니다


Pizza!
Given a circular pizza with radius z and thickness a, return the pizza's volume. [ z is first input argument.] Non-scored bonus...

대략 1년 전

답변 있음
How can I link the color of an image to a defined temperature?
Hi Enne, I understand that you want to link the colour of an image automatically to a defined temperature, Currently there i...

대략 1년 전 | 0

답변 있음
how to change time integration in pdepe
Hi feynman feynman, I understand that you want to change ODE solver whenever required, ‘pdepe’ is a function specifically des...

대략 1년 전 | 0

| 수락됨

답변 있음
how to apply k means clustering algorithm for image segmentation in matlab and how to use kernel methods in that code
Hi MINO GEORGE, I understand that you are looking for a method to implement K means Clustering algorithm, The “k-means clust...

대략 1년 전 | 0

답변 있음
K means Segmentation function
Hi Subhransu Sekhar Bhattacharjee, The ‘imsegkmeans’ function in MATLAB performs k-means clustering on an image to segment it i...

대략 1년 전 | 1

답변 있음
find algorithm for a contour
Hi Desmond Anthony, You're discussing the "nearest neighbour" problem. In MATLAB, this can be tackled by utilizing the “pdist...

대략 1년 전 | 0

답변 있음
I am running this code 100 times, generating multiple random numbers and using those random numbers to determine if a particle has leaked left(NL) leaked right(NL) abdorbed(NA). If scattering happens, then I want the code to return to recalculate mu.
Hi @ chan chang, To restart the calculation of ‘mu‘ whenever scattering occurs , your code can be updated as follows, while k ...

대략 1년 전 | 0

답변 있음
How to replace fftn and ifftn with parallel statements
Hi 耀 王, The “ifftn” function in MATLAB is implemented using a similar approach as the code you provided for “fftn” It perform...

대략 1년 전 | 1

답변 있음
C struct import problem with Matlab/Simulink R2021b if struct contains an array with one element
Hi Thomas Klingelhöfer, I have tried to import the file with single & Multi Dimensions in MATLAB R2023b, and it’s working fin...

대략 1년 전 | 0

| 수락됨

답변 있음
Why is matlab removing urevent structure?
Hi @Bridget, The warning message you are seeing indicates that there is an inconsistency between the “urevent” and “event” st...

대략 1년 전 | 1

답변 있음
MATLAB and J1587 Vehicle Communication Protocol
Hi @ Shaun Davies, I understand that you want to use MATLAB to work with the J1587 vehicle protocol, MATLAB's Vehicle Net...

대략 1년 전 | 0

답변 있음
matlab code for a 2D steady state using the energy balance method, derive the finite difference equations for the interior and boundary nodes
Hi @wes7, I understand that you want to check the heat flow at each node and edge which requires calculation of the heat flux a...

대략 1년 전 | 0

답변 있음
simscape electrical 完成一天级的仿真
Hi @ 智坤, 以下回复为英文, I understand that you want to design a day level energy management using Simscape Electrical, Using Sims...

대략 1년 전 | 0

답변 있음
Attenuation and Dispersion correction
Hi @Christian Kohlsaat, I understand that you are trying to correct the attenuation and dispersion in your measurement signal...

대략 1년 전 | 0

답변 있음
PDE Toolbox: conversion of my linear PDE model from the old "[p,e,t]" based workflow to the newer object-based work flow
Hi @Alex Degeling, I understand that you are encountering an error indicating that the model is being detected as nonlinear w...

대략 1년 전 | 0

답변 있음
Non-homogenous spatial and temporal grids
Hi @Mr. P, In the “pdefun” function, you want to define “alpha1” and “alpha2” as functions of both time and space. You can achi...

대략 1년 전 | 0

답변 있음
Failed to load module "canberra-gtk-module" without simulink
Hi @Per Jørgensen, The "load_sl_glibc_patch" function is designed exclusively for Simulink and is used to load a patch for the ...

1년 초과 전 | 0

답변 있음
facing problem in combining EEG data
Hi @Vandana To concatenate the EEG data in the EEG.data field, you can use the “cat” function, In the below code, EEG.data is ...

1년 초과 전 | 0

| 수락됨

답변 있음
mimo system not working in m.p.c.
Hi @AMAN, The error message you are seeing is likely due to a mismatch in the dimensions of the manipulated output (mo) and the...

1년 초과 전 | 0

| 수락됨

답변 있음
How do I define a dynamic system in matlab with two state variables as output to be controlled, one control input and one fixed input for the MPC controller block?
Hi @Pruthviraj Mane, I understand that you want to know how to define a dynamic system in MATLAB with two state variables, The...

1년 초과 전 | 0

답변 있음
How to train EEG signal on a single chaotic rossler attractor?
Hi @Sayan Ghosh, I understand that you aim to stimulate the Rossler system using an external input. To excite the Rossler syst...

1년 초과 전 | 0

답변 있음
How to calculate C rate for a 3 cell battery model ?
Hi @MAHENDRAN A, The C rate of a battery is the rate of charge or discharge relative to its capacity. It is often denoted as a ...

1년 초과 전 | 0

답변 있음
Modelling of journal bearing
In Simscape, modelling simple cylindrical journal bearings can be achieved by creating a custom component that represents the be...

1년 초과 전 | 0

| 수락됨

더 보기