回答済み
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 ...

2年弱 前 | 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...

2年弱 前 | 3 件の回答 | 0

3

回答

回答済み
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)....

2年弱 前 | 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...

2年弱 前 | 1 件の回答 | 0

1

回答

回答済み
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

2年弱 前 | 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 ...

2年弱 前 | 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...

2年弱 前 | 0

| 採用済み

回答済み
How to code difference quotients in matlab?
elementwise differences of consecutive elements can be calculated using diff() command

2年弱 前 | 0

| 採用済み

回答済み
Rename Struct Fields Old Function
the question is not if your fieldnames are scalar but if the struct is scalar. you will not have any problems if the atruct has ...

2年弱 前 | 0

| 採用済み

回答済み
direction of Y Axis is changing
calling set(gca,'XDir','normal'); should be enough

2年弱 前 | 0

回答済み
what (:, :, :) syntax does?
u=round(ginput(2)); gets two points with rounded x and y values. the values are stored as [x1 y1; x2 y2] it follows that...

2年弱 前 | 0

| 採用済み

質問


Is there an easy way to remove points from a signal which can be restored by interpolation
Dear community, I gues there is already a solutio nout there, but I am not finding the right key wordsw to google it myself: I...

2年弱 前 | 1 件の回答 | 0

1

回答

回答済み
How to create random matrix with specified step in interval [a, b]
generate a matrix with random integer values using randi. The spacing will be 1, you can then multiply the values by 3 to get sp...

2年弱 前 | 0

回答済み
Create a new column in the table with conditional values ​​of 1 or 0
you could use LLT.newVar=LLT{:,6}<=5 or LLT.newVar=LLT.Odstub_s_<=5; but i cannot see the whole variable name ...

2年弱 前 | 0

| 採用済み

質問


Matlab system command produces output on matlab command line
Dear community, I am using Matlab's system() command to call an external Program (Praat) to run a (Praat) script. I didn't want...

2年弱 前 | 0 件の回答 | 0

0

回答

回答済み
How to write 10^(-6) in xlabel?
you need { } around an exponent which is more than one character e g. xlabel('$\times 10^{-6}$','Interpreter','latex')

2年弱 前 | 0

| 採用済み

回答済み
find the delay between two signals
use xcorr(sig1,sig2), and use the max value of xcorr. the corresponding delay can be found at the corresponding value in the lag...

2年弱 前 | 1

| 採用済み

回答済み
plotting title with multiple strings on one line
this works for me title("abc\_def.h5" + " and " + "ghi\_jkl.h5"); a concatenated string in one line

2年弱 前 | 1

回答済み
How to rename a flash drive using matlab?
this is possible via windows command line. You can access the windows command line via matlab using the system() command sy...

2年弱 前 | 1

| 採用済み

回答済み
Hi, can you show me how I could Extract the third and fourth elements of the cell array M?
how do you count in the matrix? M{[3 4]} gives you the content of cell 3 and 4

2年弱 前 | 0

回答済み
How to remove duplicate x-values and rearrange the y-values?
use yourMat=[ [4; 1; 1; 2; 3; 3; 5; 10 ], rand(8,4)]; [~,index]=unique(yourMat(:,1),'stable'); % get unique values from the fi...

2年弱 前 | 0

回答済み
How do I extract data from a uicontrol edit field within an app?
does this work better for you: d = dialog('Position',[710 390 500 225],'Name','Team Name'); global team; team=''; txt = ...

2年弱 前 | 0

回答済み
Why atteunation of the cut-off frequency is 6dB in MATLAB filter Designer
sounds like you have a filter ehich has a attenuation slope of 6dB/octave (doubling of frequency). Assuming you want to keep the...

2年弱 前 | 0

回答済み
mirroring a magnitude response of a filter from -1 to 1
use plot([-w(end:-1:2) w],abs([h1(end:-1:2); h1])) i mirror only down to index 2 because index 1 is the 0 Hz component, ...

2年弱 前 | 1

| 採用済み

回答済み
Running into error when using pwelch for FFT
[ sensor_spectrum, freq] = pwelch(samples,w,NOVERLAP,NFFT,Fs); should be [sensor_spectrum, freq] = pwelch(snips,w,N...

2年弱 前 | 0

回答済み
Need help with generating an echo for an Audio signal
just append zeros to the original signal, prepend the same amount to a copy of your original to generate the echo and add them u...

2年弱 前 | 0

回答済み
Problem Creating Structure Field with For Loop
struct are indexed with round brackets, after that use {} if the structure field file_name_string shall be a cell for j = 1...

2年弱 前 | 0

| 採用済み

回答済み
How can I know y value after smoothing data function?
you can use feval() to evaluate your fitobject called 'smoothed' in your case. see also https://de.mathworks.com/help/curve...

2年弱 前 | 0

| 採用済み

回答済み
Vertical Alignment error in textbox
you forgot the , (the comma) behind 'none' then the code works for me

2年弱 前 | 0

| 採用済み

回答済み
Plot different Y values for certain range of X
you can just calculate the values before plotting Y(X>=5 & X<=10)=Y(X>=5 & X<=10)+20;

2年弱 前 | 0

さらに読み込む