Community Profile

photo

Hassan


University of Southampton

Active since 2011

Statistics

  • Thankful Level 4

View badges

Content Feed

View by

Question


export to excel
I have an array(18 rows, 30 columns, 4 layers) and I want to export it to excel as array(:,:,1) would be written to coulmn 1,arr...

ongeveer 12 jaar ago | 1 answer | 0

1

answer

Question


change the color of bar
*I want to assign a secific color to each column ('r','g' and 'b'). I also want to show the bars as grouped. Any suggestion plea...

ongeveer 12 jaar ago | 1 answer | 0

1

answer

Question


assigning color to binary image
*I have an image consisting of values 1 to 7. I want to show each value with specific color (green,blue,yellow,cyan,magenta,maro...

ongeveer 12 jaar ago | 3 answers | 0

3

answers

Question


Size filtering and show the position of centroids on the image
I have a binary image, BW and a grayscale image, I. I want to select only regions in the binary image with the same value that h...

meer dan 12 jaar ago | 4 answers | 0

4

answers

Question


3-d plot
*I have two matrixes: I is a grayscale image and BW is the binary image. for the regions that have area>50 in BW, I want to calc...

meer dan 12 jaar ago | 0 answers | 0

0

answers

Question


standard deviation of image
I have a 3-dimensional image (image1) and a 2-dimensional image (image2) with values from 1 to 7 and want to find the standard ...

meer dan 12 jaar ago | 2 answers | 0

2

answers

Question


adding a condition to blkproc()
I use the following code to find the mean value of non-zero values of each block of an array. I wonder how I can add a condition...

meer dan 12 jaar ago | 1 answer | 0

1

answer

Question


bar plot
I am making a bar plot. I want to put text labels for each x value. the text lables, however, are located at the end of each bar...

meer dan 12 jaar ago | 1 answer | 0

1

answer

Question


histogram
I have an array which want to plot its histogram. the range of values are from 0 to 7. I want to put a text for eahc x value. I ...

meer dan 12 jaar ago | 1 answer | 0

1

answer

Question


create an array
I wonder how I can make an array (200,400) with values 0 to 7 which randomly distributed? I apperciate your help.

meer dan 12 jaar ago | 2 answers | 0

2

answers

Question


show an image as categorised
I have an image with 3 layers (R,G,B). I want to show each layer as a cateogorised image as I can define the range of values in ...

meer dan 12 jaar ago | 2 answers | 0

2

answers

Question


plot of a string vector vs numeric vector
I wonder how to make a plot as X-axis is a text vector. I get an error when I run the folloing code (??? Error using ==> plot I...

bijna 13 jaar ago | 1 answer | 1

1

answer

Question


plot of differernt regions of specific area in a matrix
I wonder where in the follwing code i can add a condition which i can have the same plot but for regions (connected pixels) whic...

bijna 13 jaar ago | 1 answer | 0

1

answer

Question


plot of differernt regions in a matrix
I have 2 matrixes with the same dimension(100,200). the structure of one the matrixes is something like as follows: class1{row=1...

bijna 13 jaar ago | 1 answer | 0

1

answer

Question


change the color of data in legend
I have 3 plots on the same figure but legend doesn't show the right color for each plot. y=1:10; color_=['r', 'b']; for i=1:...

bijna 13 jaar ago | 2 answers | 0

2

answers

Question


how to save a plot ?
I have two large data sets. Usually it takes a lot of time to save a plot on hard drive. I wonder how I can save a plot as jpeg ...

bijna 13 jaar ago | 2 answers | 0

2

answers

Question


How can I change the font size of the current axis?
How can I change the font size of the axes of the current graph without creating new axes? For example, if we have this plot alr...

bijna 13 jaar ago | 3 answers | 1

3

answers

Question


put a space in a text
If we run the following code we will see that there is no space between 'is' and number '1'. I wonder how I can put a space in a...

bijna 13 jaar ago | 1 answer | 0

1

answer

Question


putting a text in a white space on a plot
I have some plots that I want to write a text on them but I want to place the text in a white space inside plot. I wonder how I ...

bijna 13 jaar ago | 2 answers | 0

2

answers

Question


get the name of variable
I have two variables, myData and x. at some point I want to use the name of vriable assigned to x, i.e. myData. I wonder how i c...

bijna 13 jaar ago | 1 answer | 0

1

answer

Question


save
I have two variables:Var1=[1 2 3] and s='myData'. I am using assignin('base',s,Var1) to assign the contents of the text file as ...

bijna 13 jaar ago | 3 answers | 0

3

answers

Question


load syntax
I am using the following code to load a MAT file. It's not working. It works if I simply type Load 'C:\Data.mat' but if I use Lo...

bijna 13 jaar ago | 1 answer | 0

1

answer

Question


naming variables
I have a text file, s, and I have a varaible, Var1. I wonder how I can chane the name of Var1 using the content of the text vari...

bijna 13 jaar ago | 1 answer | 0

1

answer

Question


REFLINE ISSUE
I am using Matlab R2010b. I want to make a reference line at coordinates x=0 and y=0. I used to do that in Matlab 2009 but now c...

bijna 13 jaar ago | 1 answer | 0

1

answer

Answered
legend in subplot
I found another way. First I created a subplot with a legend, then placed the legend on the appropriate place on the plot, I cre...

bijna 13 jaar ago | 0

| accepted

Question


legend in subplot
I am plotting my data using subplot. since the legend is a bit long, I want to put a horzontal legend in top of each two sub plo...

bijna 13 jaar ago | 4 answers | 0

4

answers

Question


assign differernt marker and put an offset in x-axis in subplot()
I have an array y(15 rows, 80 columns) and x(1,80) and want to plot each row of y against x. I wonder how I can assign differe...

bijna 13 jaar ago | 2 answers | 0

2

answers

Answered
change aspect on polar plot
I found the answer on http://www.mathworks.com/matlabcentral/newsreader/view_thread/134222. I should use view(90,-90).

bijna 13 jaar ago | 0

| accepted

Question


color of marks in polar plot
I want to make a polar plot. I have 16 pair of values and want to show them with markers as their colors changes gradually from ...

bijna 13 jaar ago | 2 answers | 0

2

answers

Question


change aspect on polar plot
I want to make a polar plot from azimuth angles and zenith angles. I wonder in polar(theta,rho) if theta is azimuth and rho is z...

bijna 13 jaar ago | 2 answers | 0

2

answers

Load more