Community Profile

photo

Star Strider


Last seen: 1 giorno fa Attivo dal 2012

Hic sunt dracones! PROFESSIONAL: Physician (M.D.): Diplomate of the American Board of Internal Medicine; M.Sc. Biomedical Engineering: Instrumentation, Signal Processing, Control, System Identification, Parameter Estimation NON-PROFESSIONAL: Amateur Extra Class Amateur Radio Operator; Private Pilot, Airplane Single Engine Land, Instrument Rating Airplane; Gamer NOTE: I do not respond to emails or personal messages, unless they are about my File Exchange contributions. Time Zone: UTC-7 (Standard); UTC-6 (Daylight Savings/Summer)

Statistiche

All
  • Scavenger Finisher
  • Most Accepted 2022
  • Most Accepted 2021
  • Solver
  • Personal Best Downloads Level 2
  • 5-Star Galaxy Level 3
  • Revival Level 3
  • First Submission
  • Grand Master
  • 36 Month Streak
  • Thankful Level 4
  • Knowledgeable Level 5

Visualizza badge

Content Feed

Risposto
Create a 3D array by month and other by seasons from a 3D array in days
I am not certain what you want, however it is relatively straightforward, although I do not understand the ‘84’ and what exactly...

circa 8 ore fa | 0

Risposto
Can MATLAB plot hypergeometric functions?
I do not understand what you need to plot because I do not understand your notation, however the Statistics and Machine Learning...

circa 14 ore fa | 0

Risposto
Error in FFT calculation
The value for ‘L’ is 7500 and for ‘L1’ is 601. If you change: P21 = abs(Y1/L1); to P21 = abs(Y1/L); you will get the ex...

circa 14 ore fa | 1

| accettato

Risposto
Lorentzian fit for defined peak
First, locate the peaks using findpeaks or islocalmax to get the peak values (amplitudes) and locations. The findpeaks function...

circa 14 ore fa | 0

Risposto
How to simulate thermal noise altering a signal at various sample rates?
Thermal noise or pink noisse is classically described to have an amplitude spectrum proportional to , where is frequency. T...

circa 23 ore fa | 0

Risposto
Need help on how to CREATE a text file in matlab?
‘Do I use fopen or table function?’ It depends on what you want to do. If you have a numeric array with column text headings, ...

1 giorno fa | 0

Risposto
Loading and Plotting .mat file
If you want to plot the ‘wl’ field in each one, this works — Files = dir('*.mat'); figure tiledlayout(3,3) for k = 1:nume...

1 giorno fa | 0

| accettato

Risposto
Why derivatives using matlab symbolic for a simple fuction produces different results?
They both produce the same results when I run your code — syms x y %define function z=x+1i*y; theta = angle(z); Ig1=exp(-t...

1 giorno fa | 0

Risposto
Continuous vs discrete time
It is difficult to follow what you are doing as you describe it. It might be best to use the Control System Toolbox functions i...

1 giorno fa | 0

Risposto
How do I make a 3D surface from table data?
Use the scatteredInterpolant function to generate the ‘Z’ matrix — T1 = readtable('Table Matlab surface.xlsx', 'VariableNaming...

3 giorni fa | 1

| accettato

Risposto
Cannot extract real or imag part of a function
You are taking the real and imag parts of a function handle. It is necessary to evaluate the function handle first. Try thi...

3 giorni fa | 1

| accettato

Risposto
toggle percentual from matrix
Perhaps this — per=5; a=magic(4) apr = a*(1-0.05) % 95% Of The Value apr = a*0.05 ...

3 giorni fa | 1

| accettato

Risposto
Why I knock into a error when I want to get data from my double?
In ‘PCI1’ you are referencing ‘R’ however you are not passing it to ‘PCI1’ as an argument. Perhaps this — R = [[1 0.9954 0...

3 giorni fa | 0

| accettato

Risposto
Unexpected flat surface with surf command
I do not completely understand the problem, however: [X, Y] = meshgrid(sort(x), sort(Dp_values)); could solve the problem. ...

4 giorni fa | 0

Risposto
4 equation 2 solution
Since ‘Phi’ and ‘L3’ are not defined, I created them (and ‘Alpha’) as parameters to be estimated hiere. I am not certain wh...

4 giorni fa | 0

| accettato

Risposto
for loop with fminsearch
There is a typographical error: for i=1;100 ↑← HERE Change that to a colon and it works — %I couldnt make array v...

4 giorni fa | 0

| accettato

Risposto
How do use the annotation function to annotate specific x-values on my graph?
I wrote a couple anonymous functions recently to transform (x,y) coordinates to normalised coordinates for just this purpose. ...

4 giorni fa | 0

| accettato

Risposto
Can't get symbolic numbers.
The sympref function should work, specifically: sympref('FloatingPointOutput',false); or: sympref('FloatingPointOutput','de...

4 giorni fa | 1

| accettato

Risposto
Combining multiple matrices into a single vector
A single vector is not possible, however a 3D array is with the cat function — T1 = [2 3; 4 2]; T2 = [1 7; 9 ...

5 giorni fa | 0

| accettato

Risposto
How can I change an entire column of dates into datetime format?
It appears to be UCT (or GMT in 1940). Perhaps this (the 'InputFormat' descriptor must match the format of the string you wan...

5 giorni fa | 0

Risposto
How to stack-up multiple cases in z axis?
clc clear x(1) = 0 ; y(1) = 0 ; zm = NaN(2,200); multiplier = 50 ; figure(1) hold on for i1 = 1:2 multi...

5 giorni fa | 0

| accettato

Risposto
How to fill color between two curves?
If you only want the region between the curves before or after they cross, use ‘logical indexing’. Try this — % clc % clea...

6 giorni fa | 0

| accettato

Risposto
How to correctly do a Student Test for atmoshperic data
I’m not certain what you’re doing. I would use ttest2 on the filtered and unfiltered events themselves (since that is how ttest...

6 giorni fa | 0

| accettato

Risposto
How to edit y-axis scale in pop_spectopo function to log power spectral density 10*log10(uV^2/Hz)
This ‘10*log10(uV^2/Hz)’ is the same a dB/Hz. Thi is the same as the units of the ‘pxx’ outputs of the pwelch and periodogram f...

6 giorni fa | 0

| accettato

Risposto
nonlinear regression for multiple variable parameter
Your code works. The only change required was to create the ‘pressure_Keq’ matrix as the independent variable and then change ‘...

6 giorni fa | 1

| accettato

Risposto
I need help graphing a function.
It probably should be a decaying sinusoid. The problem is that it decays too fast. Decreasing the magnitude of ‘t’ helps to ...

6 giorni fa | 0

| accettato

Risposto
Find least frequent value in an array
One approach — H = [1 1 2 2 3 3 4 5 5 5]; [Hu,~,uidx] = unique(H, 'stable'); [Out,idx] = min(accumarray(uidx,(1:numel(uidx))...

6 giorni fa | 0

Risposto
Convert array of numbers to an array of padded strings
Use the compose function — stanums = 7:12; stastrings = compose("%02d", stanums) Note the format descriptor string. .

6 giorni fa | 0

Risposto
How to filter a certain range of values
I am not certain what you mean by ‘filt’ since I do not know if you want to keep those values or exclude them. M1 = readmatr...

7 giorni fa | 0

Risposto
Distance between 2 curves from one point
Using interp1 — % Gegebene Daten x = [29.069, 44.395, 59.528, 74.76, 90.036]; y = [0.07091, 0.076187, 0.081665, 0.087588, 0....

7 giorni fa | 0

Carica altro