photo

U B


Last seen: environ 2 mois il y a Actif depuis 2021

Followers: 0   Following: 0

Statistiques

  • Thankful Level 3

Afficher les badges

Feeds

Afficher par

Question


Non-integer value in for-loop
Probably a simple question but why non-integer value can't be used in for-loop. for i=0:.1:1 H(i)=10*i ; end H how do i...

environ 2 mois il y a | 2 réponses | 0

2

réponses

Question


How to use different colormaps for different function in mesh plot.
Using different colormaps for same axis is not logical but if I want want to somehow do it then what should I do? x = linspace(...

3 mois il y a | 1 réponse | 0

1

réponse

Question


Slice of a 3D plot and projection of that function in a plane.
I'm trying to plot the mesh-plot of a Gaussian beam and slice through the centre. With it I'm tring to project the 3D plot on a ...

3 mois il y a | 2 réponses | 0

2

réponses

Question


how to do a contour plot using function handle?
By creating meshgrid, I can do contour plot. T=linspace(0,2*pi,100); d = linspace(0,2*pi,100) ; [X,Y] = meshgrid(...

4 mois il y a | 2 réponses | 0

2

réponses

Question


How to trace cluster of minimum points from a set of images and plot it in a graph?
I want to trace a cluster of minimum points from a set of images and plot it in a graph. You can acces the Image data. Im ...

11 mois il y a | 1 réponse | 0

1

réponse

Question


How to do image segmentation of a beam?
How to use image segmentation to select the whole light beam? My final aim is to select the whole beam using image segmentat...

environ un an il y a | 1 réponse | 0

1

réponse

Question


How to change the position of power of colorbar ?
The position of the power (10^-5)in the colorbar is in upper position. What do I do to bring it down to the bottom. [X,Y] = mes...

plus d'un an il y a | 1 réponse | 0

1

réponse

Question


how to set different axis value?
I want to change the axis display value in a contour plot. xylim = 0.0055 ; N = 5; x = linspace(-xylim,xylim,N); y = x;...

presque 2 ans il y a | 3 réponses | 0

3

réponses

Réponse apportée
How to calculate the average value of selected row, column from a given matrix.
A = magic(5); n = A(2:4,1:3); % value I want to read M = mean2(n);

presque 2 ans il y a | 0

| A accepté

Question


How to calculate the average value of selected row, column from a given matrix.
I have a matrix A =[ 16 2 3 13 16 ; 5 11 10 8 8 ; 9 7 6 12 5; 4 14 15 1 3] . I want t...

presque 2 ans il y a | 2 réponses | 0

2

réponses

Réponse apportée
How to use 2 variable in for loop?
Found the solution. rho = linspace(0,50,100); Nrho = length(rho); lambda = 50; k = 2*pi/lambda; S00_1 = sin(k.*rho); phi ...

plus de 2 ans il y a | 0

| A accepté

Question


How to use 2 variable in for loop?
I want to use 2 variable in for loop. If we consider a circle then in polar coordinate I've already used r variable. Now I want ...

plus de 2 ans il y a | 1 réponse | 0

1

réponse

Question


How to extract corresponding x axis value in improfile.
How to extract the values of x axis in improfile? I'm using t=improfile(I,p1,p2) ; where p1 and p2 are the x,y coordinates fo...

plus de 2 ans il y a | 1 réponse | 0

1

réponse

Question


How to add axis in a figure where I'm drawing lines.
This is the code I'm using. I = imread('figure251.png'); figure, imshow(I); colormap hot ; axis('on', 'image'); xticklabel...

plus de 2 ans il y a | 1 réponse | 0

1

réponse

Question


To save an image using imwrite
I'm trying to save an image using imwrite as imwrite(Iy,'E:\UB\Manuscript\Trial\18th_Jan\Iy.png'); I've two intensity images I...

presque 3 ans il y a | 1 réponse | 1

1

réponse

Question


To identify the pixels with the highest intensity (index) value in a figure.
I want to identify the value/values which has the highest intensity value in a figure . To read an image, im using the below cod...

presque 3 ans il y a | 1 réponse | 0

1

réponse

Question


How to change the position of the exponential in a colorbar
I'm using MATLA R2020a to generate an image with colorbar. I'm including the colorbar using the below code. But the exponential ...

presque 3 ans il y a | 1 réponse | 0

0

réponse

Question


Intensity of each pixel frawn on an image
I want to find out the intensity of every pixel if i draw a line on one image. Im using the below code for drawing a line. Init...

presque 3 ans il y a | 2 réponses | 0

2

réponses

Question


croping of an image without imcrop
I am trying to crop an image using cordinate. I'm using the code given below. I = imread('figure23.png'); I2 = imcrop(I,[185 4...

presque 3 ans il y a | 1 réponse | 0

1

réponse

Question


Graphical representation of Polarisation of a light using Jones vector.
If I have a polarised light with Jones vector J = [a ; b], is it possible to get the graphical representation of the polarised s...

plus de 3 ans il y a | 1 réponse | 0

1

réponse

Question


How to solve Index out of bounds because numel(A)=4
My aim is to generate the intensity profile for the output light passing through a polariser and an analyser for different angle...

presque 4 ans il y a | 1 réponse | 0

1

réponse