MATLAB QUESTIONS & EXPERT ANSWERS

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

Illustration
Plotting FRF with imaginary and real numbers
Teagan - 2020-12-04

Hello, I have a file of all the FRF functions of an experiment, and it is computed in complex numbers + real part. I would like to know if it is possi...

How to adapt pmtm for a gpuArray?
Travis - 2020-12-04

This would really speed up some  signal processing that I am doing at work. Does anyone know how to easily adapt the function pmtm for use with a gpu...

Find values of vector that fall within multiple ranges
Nicholas - 2020-12-04

Hello, I'm somewhat new to MATLAB, and impressed with how many features it has available. But I'm now stuck and couldn't find a code sample that worke...

How to read specific parts of file and then write it to a text file?
Sophia - 2020-12-04

I try understanding regexp function. I want you to guide me for next step. Because I got stuck. I would like to read specific parts of a file as patte...

find missing element between two matrix
Khloe - 2020-12-03

I have    A=[1 2; 3 6; 3 5; 1 4; 4 6; 2 7; 1 6; 6 5; 2 3; 6 7; 3 4]; B=[1 2; 1 6; 2 3; 3 4; 4 6];,/pre? I want to find missing element between A and...

How do you order table columns based on a vector with their names?
Lucille - 2020-12-03

I have a table, "patients", with 5 columns. I would like these columns to follow the pattern determined by the cell, "order". How could I do this? Rep...

How can I change the axis limit when I have 2 axes in my figure?
Brianna - 2020-12-03

I have a figure with 2 axes: >> figure >> yyaxis left >> plot(1:10); >> yyaxis right >> plot(2:2:20); How can I change the y-limit of my left axis to ...

How do I apply a sample time to an array of values that represent data points at different times?
Saanvi - 2020-12-03

I have a table/array/matrix of values in the MATLAB workspace, representing data from sensors, each arranged in a column. The columns have different s...

How can I use the FINDPEAKS function in the Signal Processing Toolbox 6.8 (R2007b) to find flat peaks?
Vicente - 2020-12-03

The FINDPEAKS function does not consider peak points to be valid unless they are strictly greater than the immediately neighboring points. Reproductio...

Why does the SGOLAYFILT function not accept zeros as elements of the weighting vector w, in Signal Processing Toolbox 6.1 (R13+)?
henryjames012 - 2020-12-03

I am looking at the Savitzky-Golay (SGOLAY) filters to try and remove anomalous spikes from experimental data. To do so, I need to ignore the anomalou...

Get a Free Consultation or a Sample Assignment Review!