回答済み

how to concatenate two tables efficiently

before concatenation you can go trough all tables and add up the number of rows. Then preallocate the table using three columns ...

how to concatenate two tables efficiently

before concatenation you can go trough all tables and add up the number of rows. Then preallocate the table using three columns ...

5ヶ月 前 | 0

回答済み

let a script run in other script with variable parameters

it really sounds like you actally should change your script to a fcuntion. Running a script giving paramters to it is exactly wh...

let a script run in other script with variable parameters

it really sounds like you actally should change your script to a fcuntion. Running a script giving paramters to it is exactly wh...

5ヶ月 前 | 1

回答済み

How to print value from Structure in MATLAB

you can access the 4 doubles in the cell StagPRFValue by e.g. CombineOutput(1).ValueStructure.StagPRFValue{1} the other two ...

How to print value from Structure in MATLAB

you can access the 4 doubles in the cell StagPRFValue by e.g. CombineOutput(1).ValueStructure.StagPRFValue{1} the other two ...

5ヶ月 前 | 0

回答済み

Interpolating points in a 3D space with one line

have a look into the polyfitn() function on FEX

Interpolating points in a 3D space with one line

have a look into the polyfitn() function on FEX

5ヶ月 前 | 1

回答済み

Call a function within an if statement

try randomtasks(n)==1 i guess without the (n) you would compare a vector to a value e.g. [1 3 2]==1 which is not true and th...

Call a function within an if statement

try randomtasks(n)==1 i guess without the (n) you would compare a vector to a value e.g. [1 3 2]==1 which is not true and th...

5ヶ月 前 | 0

| 採用済み

回答済み

need help for understanding audio compression code using dct

it shows, how a sound could sound if you transmit only 128 dct values per block instead of 512 sound values per block % read au...

need help for understanding audio compression code using dct

it shows, how a sound could sound if you transmit only 128 dct values per block instead of 512 sound values per block % read au...

5ヶ月 前 | 0

回答済み

How to plot the average wavelet magnitude over range of frequencies

why not use the output of the cwt function? you can average it yourself: load mtlb t=(0:numel(mtlb)-1)/Fs; [wt,f,coi]=cwt(m...

How to plot the average wavelet magnitude over range of frequencies

why not use the output of the cwt function? you can average it yourself: load mtlb t=(0:numel(mtlb)-1)/Fs; [wt,f,coi]=cwt(m...

5ヶ月 前 | 0

| 採用済み

回答済み

Find the width of a peak

do you just want to measure the peak width of this data set only? if yes, i should be telatively easy locating the peak with min...

Find the width of a peak

do you just want to measure the peak width of this data set only? if yes, i should be telatively easy locating the peak with min...

5ヶ月 前 | 0

回答済み

Resampling vector to have homogeneous length between trials

you can use the interp1() function to produce an equal number of samples per jump

Resampling vector to have homogeneous length between trials

you can use the interp1() function to produce an equal number of samples per jump

5ヶ月 前 | 0

回答済み

how to clean data by deleting [0 0]

use rowsToDelete=~any(AB,2); or rowsToDelete=all(~AB,2); AB(rowsToDelete,:)=[]; or rowsToKeep=any(AB,2); AB=AB(rowsToKeep...

how to clean data by deleting [0 0]

use rowsToDelete=~any(AB,2); or rowsToDelete=all(~AB,2); AB(rowsToDelete,:)=[]; or rowsToKeep=any(AB,2); AB=AB(rowsToKeep...

5ヶ月 前 | 0

| 採用済み

回答済み

Finding the max value in 1st column of values based on a range in the 2nd column of values

max(yourMat( yourMat(:,2)>0.09 && yourMat(:,2)<0.11 ,1)) for the first range and so on?

Finding the max value in 1st column of values based on a range in the 2nd column of values

max(yourMat( yourMat(:,2)>0.09 && yourMat(:,2)<0.11 ,1)) for the first range and so on?

5ヶ月 前 | 0

回答済み

Find rising and falling point

you can identify those points using a threshold for the differential signal, something like find( abs(diff(x)) > someThreshol...

Find rising and falling point

you can identify those points using a threshold for the differential signal, something like find( abs(diff(x)) > someThreshol...

5ヶ月 前 | 1

回答済み

How can I get the mean data from under the graphs?

what about a general threshold like 10 here? mean(all_data(all_data>10))

How can I get the mean data from under the graphs?

what about a general threshold like 10 here? mean(all_data(all_data>10))

5ヶ月 前 | 0

回答済み

How can I study Autocorrelation function of common inputs?

you can simply generate your own vectors in matlab and do some studying e.g. rectPulse = [zeros(1,10) ones(1,15) zeros(1,10)];...

How can I study Autocorrelation function of common inputs?

you can simply generate your own vectors in matlab and do some studying e.g. rectPulse = [zeros(1,10) ones(1,15) zeros(1,10)];...

5ヶ月 前 | 1

送信済み

partially logarithmic plots

This function allows to plot with x or y axis divided into a logarithmic and linear part.

5ヶ月 前 | ダウンロード 3 件 |

送信済み

MRAW reader GUI with image enhacement and sub pixel tracking

Loads Photron mraw files, allows fluent preview, image-wise spectral filtering, binomial filtering and temporal median filtering...

5ヶ月 前 | ダウンロード 3 件 |

回答済み

I need to change a graphic without using unwrap

you can unwrap manually. if you have data x and y myWrapThr=-150; dy=diff(y); dy(dy<myWrapThr)=dy(dy<myWrapT...

I need to change a graphic without using unwrap

you can unwrap manually. if you have data x and y myWrapThr=-150; dy=diff(y); dy(dy<myWrapThr)=dy(dy<myWrapT...

5ヶ月 前 | 0

回答済み

define color range in scatter plot

i do not fully understand, you want to use the pallett for split to 0 to 3000, but at a certain threshold you want to use black ...

define color range in scatter plot

i do not fully understand, you want to use the pallett for split to 0 to 3000, but at a certain threshold you want to use black ...

5ヶ月 前 | 0

| 採用済み

回答済み

Fourier Transform of Seismic Waves

subtract the mean before fft to improve visibility of frequencies or use dB view by calculating 20*log10(P1) explanation: the...

Fourier Transform of Seismic Waves

subtract the mean before fft to improve visibility of frequencies or use dB view by calculating 20*log10(P1) explanation: the...

5ヶ月 前 | 1

回答済み

Plotted image is clear but saved image is blurry- why?

use png instead of jpg, then no compression is applied and the quality will stay good there ate several methods whichbaffect ...

Plotted image is clear but saved image is blurry- why?

use png instead of jpg, then no compression is applied and the quality will stay good there ate several methods whichbaffect ...

5ヶ月 前 | 0

回答済み

Why do certain images require imshow(imagename,[]). whereas others don't?

the answer loes within the variable class. the original inage is uint8 which can have values between 0 and 255, this means imsho...

Why do certain images require imshow(imagename,[]). whereas others don't?

the answer loes within the variable class. the original inage is uint8 which can have values between 0 and 255, this means imsho...

5ヶ月 前 | 1

| 採用済み

回答済み

Joining two columns and exporting to excel

use mat2cell before joining them! [mat2cell(A) mat2cell(B)]

Joining two columns and exporting to excel

use mat2cell before joining them! [mat2cell(A) mat2cell(B)]

5ヶ月 前 | 0

回答済み

Double condition to find index

myData=...; fs=2000; minLength=ceil(fs*0.05); highVals=myData>20; searchFor=conv(highVals,ones(1,minLength),'s...

Double condition to find index

myData=...; fs=2000; minLength=ceil(fs*0.05); highVals=myData>20; searchFor=conv(highVals,ones(1,minLength),'s...

5ヶ月 前 | 0

回答済み

Extracting multiple row values (with unequal range) in a column separately

dat=readmatrix('saf_wind.csv'); dat(dat==9999)=[]; whereIsNan=find(isnan(dat)); yourMeans=zeros(1,numel(whereIsNan)+1); for ...

Extracting multiple row values (with unequal range) in a column separately

dat=readmatrix('saf_wind.csv'); dat(dat==9999)=[]; whereIsNan=find(isnan(dat)); yourMeans=zeros(1,numel(whereIsNan)+1); for ...

5ヶ月 前 | 1

質問

Speeding up fread for random position in big file

dear community, at the moment i need to read one or multiple image(s) from a big data file. since I build a live data viewer an...

5ヶ月 前 | 3 件の回答 | 0

回答済み

I want to replace the hyphens with en dashes in a plot axes.

i suggest you have a look into the yticklabels() and xticklabels() and do some replacement of '-' with the en dash char(0x2013)....

I want to replace the hyphens with en dashes in a plot axes.

i suggest you have a look into the yticklabels() and xticklabels() and do some replacement of '-' with the en dash char(0x2013)....

5ヶ月 前 | 0

| 採用済み

質問

Results of math with integer

Dear community, I recently had to work with uint8 and did some simple calculations over it. I tought using integer math tells t...

5ヶ月 前 | 1 件の回答 | 0

回答済み

Al estar trabajando la grafica no aparece, se abre la ventana pero solo aparece la cuadricula sin ningun tipo de lineas

use RC./V instead of RC/V to divide element by element

Al estar trabajando la grafica no aparece, se abre la ventana pero solo aparece la cuadricula sin ningun tipo de lineas

use RC./V instead of RC/V to divide element by element

5ヶ月 前 | 1

| 採用済み

回答済み

Unit Step Funtion Without using heaviside function

you could go over the integration of the delta function, which is the heaviside function: t=-5:5; ds=[0 1 1 1 1 0 -1 -1 ...

Unit Step Funtion Without using heaviside function

you could go over the integration of the delta function, which is the heaviside function: t=-5:5; ds=[0 1 1 1 1 0 -1 -1 ...

5ヶ月 前 | 0

回答済み

Frequency problem between reality and analysis

the nyquist theorem tells that you need to sample a wave at least two times to reproduce it without errors. Or in other words, i...

Frequency problem between reality and analysis

the nyquist theorem tells that you need to sample a wave at least two times to reproduce it without errors. Or in other words, i...

5ヶ月 前 | 0

| 採用済み