已回答
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 ...

2 years 前 | 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...

2 years 前 | 1

| 已接受

已回答
Joining two columns and exporting to excel
use mat2cell before joining them! [mat2cell(A) mat2cell(B)]

2 years 前 | 0

已回答
Double condition to find index
myData=...; fs=2000; minLength=ceil(fs*0.05); highVals=myData>20; searchFor=conv(highVals,ones(1,minLength),'s...

2 years 前 | 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 ...

2 years 前 | 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 years 前 | 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 years 前 | 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 years 前 | 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 years 前 | 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 years 前 | 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 years 前 | 0

| 已接受

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

2 years 前 | 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 years 前 | 0

| 已接受

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

2 years 前 | 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 years 前 | 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 years 前 | 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 years 前 | 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 years 前 | 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 years 前 | 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 years 前 | 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 years 前 | 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 years 前 | 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 years 前 | 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 years 前 | 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 years 前 | 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 years 前 | 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 years 前 | 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 years 前 | 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 years 前 | 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 years 前 | 0

加载更多