MATLAB QUESTIONS & EXPERT ANSWERS

Ask an expert. Trust the answer.
Your academic and career questions answered by verified experts.

Illustration
K-mean Clustering
MAT NIZAM UTI - 2022-03-29

Hi Everyone,  can someone help me on how to use the K-mean clustering or perhaps share with me the suitable coding use to cluster wind speed data. I ...

GPU and CPU code: How to do?
Nycholas Maia - 2022-03-29

I would like to share my MATLAB project with others that does not have any GPU card in your computers, but I want to use the GPU power in my computer....

How many arithmetic operations does matlab require to determine the Schur decomposition?
Jip Reinders - 2022-03-29

Consider a matrix A of size n.   I would like to determine the square root of this matrix which can be done like this: n = 10; % variable size A = ra...

sdmag evaluation by bode instruction
Mennuti - 2022-03-29

Hi everyone, could someone explain me how the sdmag parameter is calculated from the following statement? Thanks in advance.     [mag,phase,wout,sdm...

How to use If loop to iterate using different formulae under different conditions?
brianlim98 - 2022-03-28

Good day. I have a for loop to do iteration from 1 to a, where a is the length of vector. If loop is used to calculate the pressure level. In the firs...

File needed in this
adi2001cris - 2022-03-24

This script: https://www.matlabsolutions.com/resources/reverting-referenced-subsystems-back-to-normal-subsystems.php It has to be in a *filename*.m?...

How can I design a PID Controller to stabllize the plant 1/(s^3+1) ?
OHSEONG KWON - 2022-03-23

I have a system, it's Transfer function is :   1 ------------ s^3 + 1   and I want to design a Discrete PID Controller so discretized the plant at s...

Nodal basis function 1D
mohamad hoseini - 2022-03-23

Hello all, I coded a nodal basis function for 1D element from [-1,1]. the code is below:   close all; clc; clearvars; n=10; x = linspace(-1,1,n); for...

Is there a better way of solving simultaneous differential
Benjamin Watson - 2022-03-23

Is there a better way of solving simultaneous differential equations then using dsolve as MATLAB crashes everytime I use it?   So I have a set of sim...

Adjust the phase offset when using data from 'bode'
Romain Liechti - 2022-03-23

I'm trying to look at the phase and gain margin of an openloop system. Due to presentation/publications, I had to designa function to plot my amplitud...

Get a Free Consultation or a Sample Assignment Review!