Question

How to improve with single 4D arrays when memory limit problem?

I am studying the question in the thread here . I am replacing my 2D cell array of matrices with a single 4D array but I am gett...

1 year ago | 2 answers | 0

Question

Set path won't save with WFDB

I am trying to setup WFDB in Debian 8.5 MATLAB 2016b by the official instructions given <https://github.com/ikarosilva/wfdb-app-...

4 years ago | 0 answers | 0

Question

How to round up to closest 0 or 5 in array?

Code utp = [420.680537950975, 412.407955038480, 389.575547217989, 366.089887932711, 363.090652446469, 352.095749639858]; ...

4 years ago | 1 answer | 0

Question

How link axes horizontally in subplots?

Code f = figure(); bFig(1:10) = axes(f); for k = 1:numel(bFig) bFig(k) = subplot(5,2,k); end for i=1...

4 years ago | 1 answer | 0

Question

How to have MATLAB 2016 Legend without box and as transparent?

My proposal but I cannot get it work in MATLAB 2016b f = figure; hax = axes(f); [BL,BLicons] = legend(hax, 'lorem'); ...

4 years ago | 1 answer | 0

Question

How to get 1807 point data array to 1806 data array?

I thought the process would go with interpolation like the following but not u = interp1(u, size(u) - 1); which gives me...

4 years ago | 2 answers | 0

Question

How to compare xcorr and crosscorr in Matlab?

I am comparing two signals where the one is original, while the other one converted by distribution theory. Code where I am not ...

4 years ago | 0 answers | 0

Question

How to validate expected numeric tall array column?

I have 60 column tall array where I cannot declare expected numeric columns numeric. I exported those numeric columns from Googl...

4 years ago | 1 answer | 0

Question

How to transform/scale data with XLim adjusted x axis range in plot?

Code where the first figure has ranges 0x1 and 0x100, respectively for x-axis and y-axis; expected range for the second figure i...

4 years ago | 1 answer | 0

Question

How to hide "Figure" the window title bar for a matlab figure?

I want to retain the figure number but remove the word "Figure". I can do but it removes the figure number % https://se.ma...

4 years ago | 1 answer | 0

Question

How to normalize well data between [-1,1]?

Proposal which gives a results which looks correct; Can you return the original vector from the normalised result? % https:...

4 years ago | 2 answers | 0

Question

How to expand figure south to the complete south?

I do `plot(u); movegui(gcf, 'south');` but it takes only part of the south. I want that it takes the complete space at the top (...

4 years ago | 0 answers | 0

Question

What is MATLAB corresponding test for chi2gof but for Complex values?

I have an array of complex values. I would like to do a similar test as chi2gof but for complex values. MATLAB: 2016b O...

4 years ago | 1 answer | 0

Question

How to rotate polar radius to boundaries?

I am thinking if there is any method to rotate origo to boundaries and boundaries to origo. The related thread has the relevant ...

4 years ago | 0 answers | 0

Question

How to mirror matrix on the diagonal?

I want to mirror data matrix on the diagonal. Input: y | ____ x Expected output: x |_y ...

4 years ago | 3 answers | 0

Question

How to load standard image Lena?

I tried the following unsuccessfully but also the names `lenna512.bmp`, `lena512.png`, `lenna512.png`, `lena.png`, `lenna.png`, ...

4 years ago | 1 answer | 0

Question

How to see how much you have swap by Matlab prompt in your system?

I would like to verify how much users have swap on their system by one-liner. Is there anything about the thing in Matlab prom...

4 years ago | 1 answer | 0

Solved

Make the vector [1 2 3 4 5 6 7 8 9 10]

In MATLAB, you create a vector by enclosing the elements in square brackets like so: x = [1 2 3 4] Commas are optional, s...

7 years ago

Solved

Times 2 - START HERE

Try out this test problem first. Given the variable x as your input, multiply it by two and put the result in y. Examples:...

7 years ago