Answered
how to use wavelet to deal with complex signal
toolbox/wavelet/wavelet/@cwtfilterbank/wt.m % If X is complex-valued, CFS is a 3-D % matrix, where the first page is the CWT...

2 years ago | 0

Answered
audio feature extraction wav files inside a folder
aFE = audioFeatureExtractor("SampleRate",fs, ... "SpectralDescriptorInput",... "barkSpectrum", ... "spectralC...

2 years ago | 0

| accepted

Answered
Access MinFeretCoordinates data in regionprop table
a = imread("circlesBrightDark.png"); bw = a < 50; imshow(bw) title("Image with Circles") stats = regionprops("table",bw,"Cen...

2 years ago | 0

Answered
I try to calculate the following integral
I had to guess about what k was in the code. syms r sigma assume(sigma>0) syms a; assume(a>0 & a<1) L=int(r*besseli(0,a*r)...

2 years ago | 1

Answered
Why am I unable to produce sound with this code?
for i = 1:songLength noteSound = sin(2*pi*finalNotes(i)*values); sound(finalNotes(i), fs) % pause(1) end You ca...

2 years ago | 0

| accepted

Answered
plse could some help mi with 57 buss bars code file contingency n-1 i need for my research aim student MSc
matpower supplies a 57 bus file; https://matpower.org/docs/ref/matpower5.0/case57.html Aditya https://www.mathworks.com/matlab...

2 years ago | 0

Answered
how can i store the result which i am obtaining on command window and store it on in excel file, i have tried but still not able to solve it out.
If you cannot modify the script for some reason, then change run('start.m'); % my main program to be run for 10 i...

2 years ago | 0

| accepted

Answered
How to find the coordinates of edge from a figure and plot it on a separate/second figure?
I = imread('myimage.jpg'); %2598x3071x3 uint8 is_occupied = any(I ~= 255,3); B = bwboundaries(is_occupied); %https:/...

2 years ago | 0

| accepted

Answered
Simulink to workspace doesn't work
Turn off Single Simulation Output; https://www.mathworks.com/help/simulink/gui/singlesimulationoutput.html

2 years ago | 0

Answered
Error in Smith chart code. What needs to be corrected? / What should be the correct code? The code was given to me, and it doesn't run on my laptop.
Your version of MATLAB, R2013a, is too old to be able to have function definitions in script files. You will need to move fun...

2 years ago | 1

Answered
Code does not update the array for each iteration of for loops
lambi=round((lambi*10^10)/(10^10),-20); Notice the round() covers all of (lambi*10^10)/(10^10) as its first parameter. ...

2 years ago | 0

| accepted

Answered
how to reload saved ANN model in workspace properly
Suppose that you exported from nftool to the variable named results then net = results.Network;

2 years ago | 0

Answered
Index in position 1 exceeds array bounds
Your turbine "Wind speed (m/s)" signal is fed from the port labeled (1) . There are a couple of signal splits that could potenti...

2 years ago | 0

Answered
dlgradient throws Value to differentiate is non-scalar. It must be a traced real dlarray scalar.error
[Tt,Tx] = arrayfun(@(Tscalar) dlgradient(Tscalar,t,l), T, 'uniform', 0); Tt and Tx will then be cell arrays the same size of T,...

2 years ago | 0

| accepted

Answered
I get an error when opening Matlab
Unfortunately you are going to need to reinstall MATLAB. If you have an anti-virus program, you might need to turn it off tempo...

2 years ago | 0

| accepted

Answered
numerical integral solve for laser energy,S which is a function of z,t?
syms J_abs L_op t_p t z ln2 = log(sym(2)); Pi = sym(pi); S(z,t) = 2/(sqrt(Pi/ln2)) * J_abs / (L_op * t_p) * exp(-z/L_op) * ...

2 years ago | 0

| accepted

Answered
i have a erorr with echo when i use soundsc command
% Step 1: Load the audio file echo.mat filename = 'echo.mat'; datastruct = load(filename); if ~isfield(datastruct, 'echo') ...

2 years ago | 0

Answered
what is the difference between running backgroundPool and parpool ('Threads') using a parfeval?
"Pools created using parpool('Threads') and backgroundPool are both thread-based pools which utilize the same resources. It is p...

2 years ago | 0

Answered
Error using .* Matrix dimensions must agree.
integral2() passes in 2D arrays of variable but equal size to the function handle. For example one time it might pass in a pair ...

2 years ago | 0

| accepted

Answered
How do I extract mean values for specific months from my sst data?
If you convert the data into a timetable object then you could use timerange to select rows by date, as described at https://www...

2 years ago | 0

Answered
Tune FIS with Training Data
After if runtunefis fisout1 = tunefis(fisin,[],trnX,trnY,options); %#ok and before the else there is an implied sa...

2 years ago | 1

Answered
How to enable Editor data tips when editing functions (not scripts, not debugging)?
If you are not executing a function, then it has no workspace to hold values, so data tips inside the editted function would not...

2 years ago | 0

Answered
Plotting Vector Field for F(x,y,z) = (x+y+z)/(x^2+y^2+z^2)^1.5
clear all [x, y, z] = meshgrid(-50:1:50,-50:1:50,-50:1:50); i = 1/(x.^2+y.^2+z.^2).^(3/2); j = 1/(x.^2+y.^2+z.^2).^(3/2); k ...

2 years ago | 0

| accepted

Answered
Standalone compiler (Mabtlab 2022a) integrating Yalmip can't find the solvers
use the function pragma https://www.mathworks.com/help/compiler/function.html to name the solver as being used. The problem i...

2 years ago | 0

Answered
アップデートをしていくうえで最新版との違いについて
R2020a no longer appears on the Platform Road Map https://www.mathworks.com/support/requirements/platform-road-map.html Howeve...

2 years ago | 0

Answered
calculate a derivative on a graph
There are two steps: First you have to extract x and y data from the graph. If the graph is in the form of an image, then extra...

2 years ago | 0

Answered
Looping, or running the LSPIV.m code (from github) on all the files in a folder
[fname,pathname]=uigetfile('*.TIF','pick a linescan file');%loads file If you set the Multiselect option, then the output varia...

2 years ago | 0

Answered
I want to add random impulse noise to an audio signal, But the dimensions of input audio and noise audio both are different and that's why they are not getting added.
[y, Fs] = audioread("teste_01.wav"); That will return a 2D array, with the columns being channels (one channel would still be a...

2 years ago | 0

| accepted

Answered
Find first row where the first 10 elements of that row are unique from each other
row_has_10_unique = all(diff(sort(x(:,1:10)),2) > 0,2);

2 years ago | 0

Load more