Answered

how can i show my hyperspectral data in a two dimensional projection of hyperspectral cube?

To control the orientation of the image, read the documentation for 3-D camera control: https://www.mathworks.com/help/matlab/v...

how can i show my hyperspectral data in a two dimensional projection of hyperspectral cube?

To control the orientation of the image, read the documentation for 3-D camera control: https://www.mathworks.com/help/matlab/v...

1 month ago | 0

Answered

How to calculate mean value of a parameter within interval of other parameters

Assuming I've understood your description of your arrays correctly... i.e. that int_X and int_Y contain max and min values for t...

How to calculate mean value of a parameter within interval of other parameters

Assuming I've understood your description of your arrays correctly... i.e. that int_X and int_Y contain max and min values for t...

1 month ago | 0

Question

Exportgraphics and TiledLayout: Figure Handle vs TiledLayout handle?

In the documentation for exportgraphics, when saving a multi-panel plot make with TiledLayout, the TiledLayout handle is passed ...

1 month ago | 1 answer | 0

Solved

Symmetry of vector

Determine whether the vector is symmetric or not (vector could be even or odd in length). For example: x = [1 2 3 3 2 1] ...

2 months ago

Answered

How can I plot RHI from weather radar data ?

I suggest using PyART. But, for Matlab: If you have a cfradial type data file the data are stored in 2-D arrays (gates x rays ...

How can I plot RHI from weather radar data ?

I suggest using PyART. But, for Matlab: If you have a cfradial type data file the data are stored in 2-D arrays (gates x rays ...

2 months ago | 0

Answered

How to vary the pixel size in matlab imagesc() plot?

What I understand your issue to be is that you have non-uniform spacing of you data points along the x-axis of your data and you...

How to vary the pixel size in matlab imagesc() plot?

What I understand your issue to be is that you have non-uniform spacing of you data points along the x-axis of your data and you...

2 months ago | 0

Solved

Is the Point in a Triangle?

Check whether a point or multiple points is/are in a triangle with three corners Points = [x, y]; Triangle = [x1, y1; x...

2 months ago

Solved

Calculate the area of a triangle between three points

Calculate the area of a triangle between three points: P1(X1,Y1) P2(X2,Y2) P3(X3,Y3) these three points are the vert...

2 months ago

Solved

Natural numbers in string form

Create a cell array of strings containing the first n natural numbers. _Slightly_ harder than it seems like it should be. Ex...

2 months ago

Answered

how can i show my hyperspectral data in a two dimensional projection of hyperspectral cube?

If your data is something like (x,y,spectra), you could try: imagesc(your_data(:,:,1)); If your data is like (spectra, x, y) ...

how can i show my hyperspectral data in a two dimensional projection of hyperspectral cube?

If your data is something like (x,y,spectra), you could try: imagesc(your_data(:,:,1)); If your data is like (spectra, x, y) ...

2 months ago | 0

| accepted

Solved

Create a cell array out of a struct

Create a cell array out of a (single) struct with the fieldname in the first column and the value in the second column: in: ...

2 months ago

Question

exportgraphics: need error explained

I'm trying to export of multi-panel plot that contains 4 imagesc plots and two surf plots with the new exportgraphics command wi...

2 months ago | 0 answers | 0

Solved

Convert given decimal number to binary number.

Convert given decimal number to binary number. Example x=10, then answer must be 1010.

2 months ago

Solved

Find the maximum number of decimal places in a set of numbers

Given a vector or matrix of values, calculate the maximum number of decimal places within the input. Trailing zeros do not coun...

2 months ago

Solved

Make roundn function

Make roundn function using round. x=0.55555 y=function(x,1) y=1 y=function(x,2) y=0.6 y=function(x,3) ...

2 months ago

Solved

Rounding off numbers to n decimals

Inspired by a mistake in one of the problems I created, I created this problem where you have to round off a floating point numb...

2 months ago

Solved

Matlab Basics - Rounding III

Write a script to round a large number to the nearest 10,000 e.g. x = 12,358,466,243 --> y = 12,358,470,000

2 months ago

Solved

Matlab Basics - Rounding II

Write a script to round a variable x to 3 decimal places: e.g. x = 2.3456 --> y = 2.346

2 months ago

Solved

Check that number is whole number

Check that number is whole number Say x=15, then answer is 1. x=15.2 , then answer is 0. <http://en.wikipedia.org/wiki/Whole...

2 months ago

Solved

MATLAB Basic: rounding IV

Do rounding towards plus infinity. Example: -8.8, answer -8 +8.1 answer 9 +8.50 answer 9

2 months ago

Solved

MATLAB Basic: rounding III

Do rounding towards minus infinity. Example: -8.8, answer -9 +8.1 answer 8 +8.50 answer 8

2 months ago

Solved

MATLAB Basic: rounding II

Do rounding nearest integer. Example: -8.8, answer -9 +8.1 answer 8 +8.50 answer 9

2 months ago

Solved

MATLAB Basic: rounding

Do rounding near to zero Example: -8.8, answer -8 +8.1 answer 8

2 months ago

Solved

Vector creation

Create a vector using square brackets going from 1 to the given value x in steps on 1. Hint: use increment.

2 months ago

Solved

Flip the vector from right to left

Flip the vector from right to left. Examples x=[1:5], then y=[5 4 3 2 1] x=[1 4 6], then y=[6 4 1]; Request not ...

2 months ago

Solved

Whether the input is vector?

Given the input x, return 1 if x is vector or else 0.

2 months ago

Solved

Magic is simple (for beginners)

Determine for a magic square of order n, the magic sum m. For example m=15 for a magic square of order 3.

2 months ago