Risolto

Rotate Matrix @180 degree

Rotate Matrix @180 degree Example A=[8 1 6; 3 5 7; 4 9 2], then answer would be [2 9 4;...

quasi 2 anni fa

Risolto

Calculate the average value of the elements in the array

Calculate the average value of the elements in the array

quasi 2 anni fa

Risolto

the average value of the elements

Calculate the average value of the elements in the array

quasi 2 anni fa

Risolto

Square root

Given x (a matrix), give back another matrix, where all the elements are the square roots of x's elements.

quasi 2 anni fa

Risolto

Draw 'O' !

Given n as input, generate a n-by-n matrix 'O' using 0 and 1 . example: n=4 ans= [1 1 1 1 1 0 0 1 ...

quasi 2 anni fa

Risolto

Draw 'C'.

Given x as input, generate a x-by-x matrix 'C' using 0 and 1. example: x=4 ans= [0 1 1 1 1 0 0 0 ...

quasi 2 anni fa

Risolto

Draw 'B'

Draw a x-by-x matrix 'B' using 1 and 0. (x is odd and bigger than 4) Example: x=5 ans= [1 1 1 1 0 1 0 0 0 1 ...

quasi 2 anni fa

Risposto

Create triangulated beam with meshgrid

https://www.mathworks.com/help/matlab/delaunay-triangulation.html

Create triangulated beam with meshgrid

https://www.mathworks.com/help/matlab/delaunay-triangulation.html

quasi 2 anni fa | 0

Risposto

How to utilize an existing API to download weather data and use it for calculations in a MATLAB script?

Build a string that is structured like this and use it as the input to webread: https://developer.nrel.gov/api/solar/data_query...

How to utilize an existing API to download weather data and use it for calculations in a MATLAB script?

Build a string that is structured like this and use it as the input to webread: https://developer.nrel.gov/api/solar/data_query...

quasi 2 anni fa | 0

| accettato

Risposto

I am trying to replicate the “Planning Radar Network Coverage over Terrain” example in MATLAB and want to know how can I change the region of this example?

You need the correct SRTM elevation file for the area you're interested in. These DTED files are only 1x1 degree. You're specify...

I am trying to replicate the “Planning Radar Network Coverage over Terrain” example in MATLAB and want to know how can I change the region of this example?

You need the correct SRTM elevation file for the area you're interested in. These DTED files are only 1x1 degree. You're specify...

quasi 2 anni fa | 1

Risposto

Average data from multiple csv files

Here's an example of how to approach this. You'll have to make this work with your specific data and functions. You can do this ...

Average data from multiple csv files

Here's an example of how to approach this. You'll have to make this work with your specific data and functions. You can do this ...

quasi 2 anni fa | 0

Risposto

How to share variables between button functions in App Designer?

You want to store these variable as a Property. https://www.mathworks.com/help/matlab/creating_guis/share-data-across-callbacks...

How to share variables between button functions in App Designer?

You want to store these variable as a Property. https://www.mathworks.com/help/matlab/creating_guis/share-data-across-callbacks...

quasi 2 anni fa | 0

| accettato

Risolto

Get the area codes from a list of phone numbers

Given a string of text with phone numbers in it, return a unique'd cell array of strings that are the area codes. s = '508-647...

quasi 3 anni fa

Risposto

How can I overlay a shapefile onto a geoscatter plot?

Plotting shapefiles on a geographic axis isn't always the best experience. You'll note that geoshow is intended for use with a s...

How can I overlay a shapefile onto a geoscatter plot?

Plotting shapefiles on a geographic axis isn't always the best experience. You'll note that geoshow is intended for use with a s...

quasi 3 anni fa | 0

| accettato

Risposto

Download MATLAB2020b for linux

On the download page you can select your release on the left hand side, and then you can selection your OS via the main download...

Download MATLAB2020b for linux

On the download page you can select your release on the left hand side, and then you can selection your OS via the main download...

quasi 3 anni fa | 0

Risposto

Help plotting satellite data?

geoshow(lat(:), lon(:), long(:),'DisplayType','ImageMap');

Help plotting satellite data?

geoshow(lat(:), lon(:), long(:),'DisplayType','ImageMap');

quasi 3 anni fa | 0

| accettato

Risposto

Basic question about loops

You could make use of genvarname, but this would work too. for i = 2:5 eval(['Idx' num2str(i) ' = Idx(:,' num2str(i) ');']...

Basic question about loops

You could make use of genvarname, but this would work too. for i = 2:5 eval(['Idx' num2str(i) ' = Idx(:,' num2str(i) ');']...

quasi 3 anni fa | 0

| accettato

Risposto

Convert nifti file containing a brain region of interest to a logical vector (number of seeds (in this case 1) x number of voxels?

Start here: https://www.mathworks.com/matlabcentral/fileexchange?q=NIfTI

Convert nifti file containing a brain region of interest to a logical vector (number of seeds (in this case 1) x number of voxels?

Start here: https://www.mathworks.com/matlabcentral/fileexchange?q=NIfTI

quasi 3 anni fa | 0

Risposto

Load .slk file format (excel can open it, but can't import it to matlab)

data = readtable('your_spreadsheet.slk','FileType','spreadsheet');

Load .slk file format (excel can open it, but can't import it to matlab)

data = readtable('your_spreadsheet.slk','FileType','spreadsheet');

quasi 3 anni fa | 0

Risposto

How to Convert .nii file to png/jpg

https://www.mathworks.com/matlabcentral/fileexchange?q=NIfTI

How to Convert .nii file to png/jpg

https://www.mathworks.com/matlabcentral/fileexchange?q=NIfTI

quasi 3 anni fa | 0

Risposto

Why MATLAB cannot render $\Beta$ (LaTeX string) in xlabel, ylabel?

For an upper case beta, just use B and not \Beta. Here's the characters you can use: https://www.mathworks.com/help/matlab/crea...

Why MATLAB cannot render $\Beta$ (LaTeX string) in xlabel, ylabel?

For an upper case beta, just use B and not \Beta. Here's the characters you can use: https://www.mathworks.com/help/matlab/crea...

quasi 3 anni fa | 1

| accettato

Risposto

Can anyone tell me what this does

That looks like a calculation for a percentage change.

Can anyone tell me what this does

That looks like a calculation for a percentage change.

quasi 3 anni fa | 0

| accettato

Domanda

How do I get the brush tool to ignore points?

Let's say I have a single figure with multiple line or scatter objects sharing the same axis. I would like to use the brush too...

quasi 3 anni fa | 1 risposta | 0

Domanda

Outerjoining timetables giving unwanted NaN/NaT values

I'm trying to outerjoin two timetables using a common non-time key. Here's an example: >> Tleft = timetable(seconds([1;2;4;6])...

quasi 3 anni fa | 0 risposte | 0

Risposto

How to plot binary matrix as dots?

FH = figure; imagesc(yourMatrix); colormap(FH,[0,0,0;1,1,1]);

How to plot binary matrix as dots?

FH = figure; imagesc(yourMatrix); colormap(FH,[0,0,0;1,1,1]);

quasi 3 anni fa | 0