답변 있음
How do I plot the upper view of a matrix and represent the intensity color?
Here is an example of what i'm thinking you're doing. Not sure what you're doing with the weighted average but i think i did so...

4달 전 | 1

| 수락됨

답변 있음
How to vertically and horizontally scan an image to store a coordinates (positions) of the elements having values other than 255.
do you need to "scan" in a for loop or are you just looking for the positions of the colors? if you don't need to scan in a for...

4달 전 | 0

답변 있음
How to plot an equation qith specific data range?
For this you can use the function ylim() clc clear x=0:5:100; y=3*x+10; y1=4*x+5; plot(x,y) hold on plot(x,y1) ylim([25...

4달 전 | 0

답변 있음
How to include function in legend
do you need to use latex as just using the default tex? as latex uses $ for markup of symbols i don't know if it'll take the sy...

4달 전 | 1

답변 있음
Having trouble with looping through fields in a struct
primarily its because of the data.t = zeros(length(list)); data.p = zeros(length(list)); where you've set the t and p to be ...

4달 전 | 0

답변 있음
how to add a label to a contourf plot next to colourbar?
you can set a ylabel by passing the colorbar handles into ylabel [X,Y] = meshgrid(1:12,1:24); Z = sin(X) + cos(Y); figure(1),...

4달 전 | 1

| 수락됨

답변 있음
Plotting streamlines from a dataset (x,y,u,v)
So, meshgrid generates a grid of x and grid of y values so index wise you get the xy pair-combo. usually very useful when you're...

4달 전 | 1

| 수락됨

답변 있음
Change variables in for loop
That is because you're evaluating a string in that inpoly and not the variable x_e#... ideally you wouldn't want to do the evalu...

4달 전 | 0

| 수락됨

답변 있음
hello everyone. How to make the direction of points drawn on Cartesian coordinate system consistent with that drawn on binary image.
in a displayed image (0,0) is top left corner but cartesian is bottem left if in the ++ quadrant. so remedy this you can set th...

4달 전 | 0

| 수락됨

답변 있음
Help sketching equation into 3d graph
what you'll need to do is use the function meshgrid() which will then create a 2D matrix for both x and y such that you can get ...

4달 전 | 1

답변 있음
Bars disappear with log scale
While not ideal this should get you by since bar tries to plot the bar all the way to 0 which log scales don't show y=randi(100...

4달 전 | 0

답변 있음
pre-define a struct/array of structs in attempt to get rid of out of memory error.
the pre-allocation can be done (though can't really find the right way ultimateR = []; temp = struct('name',[],'size',[],'resu...

4달 전 | 0

해결됨


Implement simple rotation cypher
If given a letter from the set: [abc...xyz] and a shift, implement a shift cypher. Example: 'abc' with a shi...

12달 전

답변 있음
Using get and set command to add a title, xlabel, and ylabel?
You can take a look by first extracting out the current axis or assign it to a variable: figure(1),imagesc(randi(10,10,10)) ha...

12달 전 | 0

| 수락됨

답변 있음
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...

1년 이상 전 | 0

| 수락됨

질문


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). ...

1년 이상 전 | 답변 수: 1 | 0

1

답변

답변 있음
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...

1년 이상 전 | 1

| 수락됨

답변 있음
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"...

1년 이상 전 | 0

답변 있음
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 ...

1년 이상 전 | 0

| 수락됨

답변 있음
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...

1년 이상 전 | 0

답변 있음
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; ...

1년 이상 전 | 0

| 수락됨

답변 있음
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);...

1년 이상 전 | 0

| 수락됨

답변 있음
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...

1년 이상 전 | 0

| 수락됨

답변 있음
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...

1년 이상 전 | 0

답변 있음
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...

1년 이상 전 | 0

| 수락됨

답변 있음
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...

1년 이상 전 | 0

| 수락됨

답변 있음
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...

1년 이상 전 | 0

| 수락됨

답변 있음
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...

1년 이상 전 | 1

| 수락됨

답변 있음
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...

1년 이상 전 | 0

해결됨


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...

2년 이하 전

더로드