Risolto


Reverse the vector
Reverse the vector elements. Example: Input x = [1,2,3,4,5,6,7,8,9] Output y = [9,8,7,6,5,4,3,2,1]

5 mesi fa

Risolto


Select every other element of a vector
Write a function which returns every other element of the vector passed in. That is, it returns the all odd-numbered elements, s...

5 mesi fa

Risolto


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

5 mesi fa

Risolto


Triangle Numbers
Triangle numbers are the sums of successive integers. So 6 is a triangle number because 6 = 1 + 2 + 3 which can be displayed ...

5 mesi fa

Risolto


Generate a vector like 1,2,2,3,3,3,4,4,4,4
Generate a vector like 1,2,2,3,3,3,4,4,4,4 So if n = 3, then return [1 2 2 3 3 3] And if n = 5, then return [1 2 2 3 3 3 4...

5 mesi fa

Risposto
controling arduino mega2560
Hi lital, I understand that you want to achieve a higher frequency using Arduino MEGA 2560. To achieve higher frequencies, o...

5 mesi fa | 0

Risolto


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

5 mesi fa

Risolto


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

5 mesi fa

Risolto


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

5 mesi fa

Risolto


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.

5 mesi fa

Risolto


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

5 mesi fa

Risolto


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

5 mesi fa

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

5 mesi fa | 0

Risolto


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

5 mesi fa

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

5 mesi fa | 0

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

5 mesi fa | 0

| accettato

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

5 mesi fa | 0

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

5 mesi fa | 1

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

5 mesi fa | 0

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

5 mesi fa | 1

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

5 mesi fa | 0

| accettato

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

5 mesi fa | 1

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

6 mesi fa | 0

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

7 mesi fa | 0

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

7 mesi fa | 0

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

7 mesi fa | 0

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

7 mesi fa | 0

Risposto
How can I active "Perform channel analysis" option in Paralle link designer simulation?
Hi @Zahra , I understand that "Perform channel analysis" option is inactive in the prelayout simulation window, It is possible...

7 mesi fa | 0

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

7 mesi fa | 0

Carica altro