Answered

HDFread and hdfinfo on modis data

Answer to this after brute forcing looking at all named values. attributes that should have been pulled from just reading in si...

HDFread and hdfinfo on modis data

Answer to this after brute forcing looking at all named values. attributes that should have been pulled from just reading in si...

2 månader ago | 0

| accepted

Question

HDFread and hdfinfo on modis data

I appear to be missing some fundamental understanding of hdfread and hdfinfo for MODIS hdf data files (note not hdf5 files). ...

2 månader ago | 1 answer | 0

Answered

Two-dimensional colormap

I'm puzzeled by your first portion and the need for a for loop. unless you have a hold somewhere the images shouldn't be stackin...

Two-dimensional colormap

I'm puzzeled by your first portion and the need for a for loop. unless you have a hold somewhere the images shouldn't be stackin...

6 månader ago | 1

| accepted

Answered

how to know if a char vector contains unwanted characters?

check out the function ismember here is snippet of test code x=["0","1","2","3","4","5","6","7","8","9","."]; y = ["3","3","5"...

how to know if a char vector contains unwanted characters?

check out the function ismember here is snippet of test code x=["0","1","2","3","4","5","6","7","8","9","."]; y = ["3","3","5"...

6 månader ago | 0

Answered

How can I splitt up a big matrix into smaller matrises, splitting it up by values on the x-axis

so the main question is whether the ranges for the smaller matrixes are known or need to be detectable. then you can use a for ...

How can I splitt up a big matrix into smaller matrises, splitting it up by values on the x-axis

so the main question is whether the ranges for the smaller matrixes are known or need to be detectable. then you can use a for ...

6 månader ago | 0

| accepted

Answered

How can I convert a YCbCr image to 4:2:0

while you're probably not going to implement this in simulink but take a look at https://www.mathworks.com/help/vision/ref/chrom...

How can I convert a YCbCr image to 4:2:0

while you're probably not going to implement this in simulink but take a look at https://www.mathworks.com/help/vision/ref/chrom...

6 månader ago | 0

Answered

How to plot a region in a Matlab plot?

here is quick example of what you can do by putting the regions as an image under the plots: %gen xy spans temps=0:.1:100; ...

How to plot a region in a Matlab plot?

here is quick example of what you can do by putting the regions as an image under the plots: %gen xy spans temps=0:.1:100; ...

6 månader ago | 0

| accepted

Answered

How to set marker groups in one plot?

Here is a snippet of code that should help you out. %Dummy data GroupNo =[1 1 1 2 2 2 3 3 4] A = randi(100,numel(GroupNo),2);...

How to set marker groups in one plot?

Here is a snippet of code that should help you out. %Dummy data GroupNo =[1 1 1 2 2 2 3 3 4] A = randi(100,numel(GroupNo),2);...

6 månader ago | 0

| accepted

Answered

multiple folder paths into a loop

to add onto what Mr. Roberson has up there: [a]=dir('B*\sss\ttt\*.txt') you can continue the search by using the wildcard + ex...

multiple folder paths into a loop

to add onto what Mr. Roberson has up there: [a]=dir('B*\sss\ttt\*.txt') you can continue the search by using the wildcard + ex...

6 månader ago | 0

| accepted

Answered

Incorrect use of '=' operator occurs in grey out area of app designer.

I was unable to create it myself but from the looks of it you might have a function or calculation that isn't terminated correct...

Incorrect use of '=' operator occurs in grey out area of app designer.

I was unable to create it myself but from the looks of it you might have a function or calculation that isn't terminated correct...

6 månader ago | 0

Answered

Undefined operator '>=' for input arguments of type 'cell'.

you can adust it to take out the cell using cell2mat() function or quick cell indexing using the curly brackets {} can do the tr...

Undefined operator '>=' for input arguments of type 'cell'.

you can adust it to take out the cell using cell2mat() function or quick cell indexing using the curly brackets {} can do the tr...

6 månader ago | 0

| accepted

Answered

Previous Value of Numeric Edit Field

I think thats almost what you'd want do have and store prevvalue during during successful calculation. Previousely in GUIDE an...

Previous Value of Numeric Edit Field

I think thats almost what you'd want do have and store prevvalue during during successful calculation. Previousely in GUIDE an...

6 månader ago | 0

| accepted

Answered

How to set a scale in a figure (similiar to Google Maps)

I don't understand what you're doing with that line to check baseline. I'll continue to read that however here is a quick scale...

How to set a scale in a figure (similiar to Google Maps)

I don't understand what you're doing with that line to check baseline. I'll continue to read that however here is a quick scale...

6 månader ago | 0

| accepted

Answered

Plots combining to produce one single plot

What i see is that you have a hold on and you didn't turn it off or designate a new plotting window/figure. Such athat dependin...

Plots combining to produce one single plot

What i see is that you have a hold on and you didn't turn it off or designate a new plotting window/figure. Such athat dependin...

6 månader ago | 0

| accepted

Answered

Making a histogram from a struct

I'm not sure what the rest of your dataset looks like unless you are looking to do a histogram of 7 points. However this snippe...

Making a histogram from a struct

I'm not sure what the rest of your dataset looks like unless you are looking to do a histogram of 7 points. However this snippe...

6 månader ago | 0

Solved

Radiation Heat Transfer — View Factors (1)

View factors (aka configuration factors) are utilized in some radiation heat transfer models to estimate heat transfer rates bet...

10 månader ago

Answered

i got index exceeds matrix dimensions.??

You should put a breakpoint at that line and then check the dimensions of the curs variable. without running your code and with...

i got index exceeds matrix dimensions.??

You should put a breakpoint at that line and then check the dimensions of the curs variable. without running your code and with...

nästan 2 år ago | 0

| accepted

Answered

Replotting Data vs. Storing Plots/Images

I think the answer would be dependent on how many points are in each line and the size of the images you're going to be pulling ...

Replotting Data vs. Storing Plots/Images

I think the answer would be dependent on how many points are in each line and the size of the images you're going to be pulling ...

nästan 3 år ago | 0

Answered

How to create a checkerboard matrix without inbuilt function.

There are much easier ways to do this than nested for loops, reshape is readily available. if you *must* do it with for loops y...

How to create a checkerboard matrix without inbuilt function.

There are much easier ways to do this than nested for loops, reshape is readily available. if you *must* do it with for loops y...

nästan 3 år ago | 0

| accepted

Answered

does someone know if it's possible to have popupmenu in inputdlg?

Absolutely you can, however its not as straight forward as inputdlg() or questdlg(). you'll want to look at the example here: ...

does someone know if it's possible to have popupmenu in inputdlg?

Absolutely you can, however its not as straight forward as inputdlg() or questdlg(). you'll want to look at the example here: ...

nästan 3 år ago | 0

| accepted

Answered

How can I change the LSBs of consecutive elements of an array?

you could use bitand() a = [23, 255, 67, 89, 45, 90, 34, 12]'; n=3; b = bitand(a ,255-n,'uint8') disp(dec2bin(a)) di...

How can I change the LSBs of consecutive elements of an array?

you could use bitand() a = [23, 255, 67, 89, 45, 90, 34, 12]'; n=3; b = bitand(a ,255-n,'uint8') disp(dec2bin(a)) di...

ungefär 3 år ago | 0

Answered

import multiple spreadsheats at once (.xlsx files)

well first you'll want to get away from generating variables in that fashion as you'll basically have A400 or more which is hard...

import multiple spreadsheats at once (.xlsx files)

well first you'll want to get away from generating variables in that fashion as you'll basically have A400 or more which is hard...

ungefär 3 år ago | 0

Answered

Looking for a word in a 2D array

I would take a look at the function strfind(), and lower() or upper(). strfind() will return the starting index value of the ...

Looking for a word in a 2D array

I would take a look at the function strfind(), and lower() or upper(). strfind() will return the starting index value of the ...

mer än 3 år ago | 0

Answered

Project 3D points to a surface

you could try something like this. my curve and fit method is probably different however what you can do is use find() to deter...

Project 3D points to a surface

you could try something like this. my curve and fit method is probably different however what you can do is use find() to deter...

mer än 3 år ago | 1

Answered

Can I match data from several find functions?

what you should do is get rid of the find() for each parameter filter. keep it as a logical and then you can directly use the l...

Can I match data from several find functions?

what you should do is get rid of the find() for each parameter filter. keep it as a logical and then you can directly use the l...

mer än 3 år ago | 0

| accepted

Answered

How to average plots that differ in x and y data?

you can do something like x1 = 0:.01:4; x2 = 0:.03:5; x3 = 0:.02:6; y1 = sin(3*pi*x1); y2 = sin(3*pi*x...

How to average plots that differ in x and y data?

you can do something like x1 = 0:.01:4; x2 = 0:.03:5; x3 = 0:.02:6; y1 = sin(3*pi*x1); y2 = sin(3*pi*x...

mer än 3 år ago | 0

Answered

How to get the central data of a matrix?

you'd use the parameter 'same' in the convolution function x = [0 1 2 3 4 5 4 3 2 1 0] conv(x,[0 1 0],'same') otherwise ...

How to get the central data of a matrix?

you'd use the parameter 'same' in the convolution function x = [0 1 2 3 4 5 4 3 2 1 0] conv(x,[0 1 0],'same') otherwise ...

mer än 3 år ago | 0

| accepted

Answered

Change axes limits interactively

you can try something like this, which really depends on how you want the user to input the different limits function uiexa...

Change axes limits interactively

you can try something like this, which really depends on how you want the user to input the different limits function uiexa...

mer än 3 år ago | 1

| accepted

Answered

error using randi: size inputs must be scalar

you actually want to do for n=1:4 a{n}= randi(10,n)-1; b{n}= randi(10,n)-1; fprintf('n = %d:\n', n)...

error using randi: size inputs must be scalar

you actually want to do for n=1:4 a{n}= randi(10,n)-1; b{n}= randi(10,n)-1; fprintf('n = %d:\n', n)...

mer än 3 år ago | 0

Answered

How can I plot mean +/- 1 standard deviation for every data point in my dataset ?

have you looked up the function errorbar()? it should get you what you'll need

How can I plot mean +/- 1 standard deviation for every data point in my dataset ?

have you looked up the function errorbar()? it should get you what you'll need

mer än 3 år ago | 0