U B
Followers: 0 Following: 0
Feeds
提问
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...
2 months 前 | 2 个回答 | 0
2
个回答提问
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 months 前 | 1 个回答 | 0
1
个回答提问
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 months 前 | 2 个回答 | 0
2
个回答提问
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 months 前 | 2 个回答 | 0
2
个回答提问
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 months 前 | 1 个回答 | 0
1
个回答提问
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...
1 year 前 | 1 个回答 | 0
1
个回答提问
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...
1 year 前 | 1 个回答 | 0
1
个回答提问
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;...
2 years 前 | 3 个回答 | 0
3
个回答已回答
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);
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);
2 years 前 | 0
| 已接受
提问
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...
2 years 前 | 2 个回答 | 0
2
个回答已回答
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 ...
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 ...
2 years 前 | 0
| 已接受
提问
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 ...
2 years 前 | 1 个回答 | 0
1
个回答提问
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...
2 years 前 | 1 个回答 | 0
1
个回答提问
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...
2 years 前 | 1 个回答 | 0
1
个回答提问
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...
3 years 前 | 1 个回答 | 1
1
个回答提问
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...
3 years 前 | 1 个回答 | 0
1
个回答提问
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 ...
3 years 前 | 0 个回答 | 0
0
个回答提问
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...
3 years 前 | 2 个回答 | 0
2
个回答提问
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...
3 years 前 | 1 个回答 | 0
1
个回答提问
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...
3 years 前 | 1 个回答 | 0
1
个回答提问
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...
4 years 前 | 1 个回答 | 0