Answered
How to detect the limits of the road?
Hi Bogdan just answered a similar question A(find(A>125))=255; A(find(A<=125))=0; % basic image clean-up converting...

9 years ago | 0

| accepted

Answered
Help with finding the index corresponding to change in the matrix
max perhaps you want to try the following: 1.- your signal clearvars A=imread('graph1-2.jpg'); 2.- turn ...

9 years ago | 0

Answered
Select columns from multiple matrices to form a well-conditioned matrix
Slime In MATLAB R2016a the following only takes 0.2 seconds, is this delay acceptable? p=combinator(8,4,'p','r'); ran...

9 years ago | 1

Answered
I can not find the solution of this code in line number 105 and 112.Urgently needed .Please help me.
Dear Mr Shil Your are building a communications model. And you are starting from ground zero when SIMULINK has plenty of too...

9 years ago | 0

Answered
imrotate won't work in this scenario,any other suggestions?
Chathu there is a function in http://uk.mathworks.com/matlabcentral/fileexchange/57492-rotate-image-around-arbitrary-poin...

9 years ago | 1

| accepted

Submitted


rotate image around arbitrary point
answer to forum question asking how to rotate image around any point

9 years ago | 1 download |

1.0 / 5
Thumbnail

Answered
Hi,,is there anyone who could suggest any way of calculating the weight of a matrix row-wise?
with h=histogram(sum(A,2),[0:5]) count=h.Values 0 0 2 1 1 you have the result in the vari...

9 years ago | 1

| accepted

Answered
how can i compare each value in a vector?
what about the following: angle=[-20 -18.4 -17 -10 10 17 18.4 20]; outcome=zeros(1,length(angle)) range=[0 15.52 18.1...

9 years ago | 0

Answered
Mean and 3-sgima for Lognormal distributions
ok no worries to visualize the mean, sigma and 3 sigma on the curve of the probability distribution that approximates your da...

9 years ago | 2

| accepted

Answered
Mean and 3-sgima for Lognormal distributions
histfit with option dist does not really mean that the data has a lognormal distribution. You expect it to be lognormal, so y...

9 years ago | 1

Answered
How can i done this problem?
Hi 1.- from <http://mathworld.wolfram.com/LineIntegral.html> <</matlabcentral/answers/uploaded_files/53344/line%20integ...

9 years ago | 1

Answered
How to do the summation of two graphs?
you have 2 signals y1=[ 414.00 1.00 400.00 1.00 384.00 1.00 381.00 1.00 367.00 1.00 348.00 1.00 321.00 1.19 308.00 1.39 299...

9 years ago | 4

Answered
How can I fix this error defining 's'.
If you key in the polynomials directly tf([1 -2 1],[3 -.4] ) ans = s^2 - 2 s + 1 ------------- ...

9 years ago | 0

Answered
how can i change the matrix dimension of an image?
if you check size on the tiff file A=imread('lena.tif') [sz1 sz2 sz3]=size(A) you will see the right size. If you ...

9 years ago | 0

Answered
How can I export Matrices in a Cell data?
Since you didn't mention signs, perhaps the following suffices: A=randi([1 10],randi([3 10],1,1),randi([3 10],1,1)) ...

9 years ago | 0

Answered
How to set FaceAlpha of area plot
In R2016a your code works fine for both graphs. <</matlabcentral/answers/uploaded_files/53342/graph_transparency_01.jpg>>...

9 years ago | 3

Answered
Input A of class cell and input B of class double must be cell arrays of strings, unless one is a string
Mr Dadoyan please check if you find the following useful: A= [ '89830410'; '50590220'; '33762X10'; '02837P30...

9 years ago | 1

Answered
Image cropping help (Crop image at boundary)
In the file exchange there are these 2 solutions: 1.- <http://uk.mathworks.com/matlabcentral/fileexchange/17460-cropping-an-i...

9 years ago | 0

| accepted

Answered
How to solve singularity problem while using fsolve
Try splitting the fsolve approach with real() and imag() because with real() i get something: .. F = @(x)[real(((x-a)/(x...

9 years ago | 2

| accepted

Answered
How to get line count from an image?
ANSWER LINES COUNT - PART II In this part II different edge detection functions are tested, in an effort to prepare the ima...

9 years ago | 4

Answered
How to get line count from an image?
ANSWER LINES COUNT - PART III 1.- Initially the RGB image has been translated into single layer with A(:,:,1)+A(:,:,2)+A...

9 years ago | 3

Answered
Equalize a BSPK Signal
if you want the square constellation, 64 symbols in a 8x8 IQ square, then in second line change pskmod(moddata,M) f...

9 years ago | 1

Answered
How to get line count from an image?
Shariful PART I 1.- acquire image A=imread('lines_count00.jpg'); [im_1 im_2 im_3]=size(A); % imshow(A) 2.- y...

9 years ago | 2

Answered
How to Extract High density pixels in a RGB Image?
Hi Selva 1.- acquire image A=imread('count_ribbons.jpg') [im_1 im_2 im_3]=size(A) % [y x 3] or [vertical horizontal...

9 years ago | 1

Answered
hi,,,lets say I have a 3*4 matrix.. I want to add row-wise elements. How can I do that? TIA
bsxfun(@xor,A,A) does not have index to point operation along a given matrix dimension, bsxfun(@xor,A,A,2) doesn't work. H...

9 years ago | 0

| accepted

Answered
how to use quadl function to integrate a function of combination Bessel function and a vector
Donyau 1.- In MATLAB R2016 your initial code works just fine: format long u=0.:0.01:1.0; nu=1.5; u=u.^1.5; w=@(u) ...

9 years ago | 1

| accepted

Answered
How to read the data from a header file into single variables
My answer supplies measures in numeric format, not char. dpb answer is more code compact but you still have to extract the actua...

9 years ago | 0

Answered
How can I compute kernels?
instead of pdist2, that performs rest sqrt, and then back ^2, you could simply use the operators .^ and .* to operate element wi...

9 years ago | 2

| accepted

Answered
How can I replace value in array by graphic file(pattern)?
1.- let's have a look at how you generate the basic blocks x = [0 0.5 1 1.5 2 2.5 3 3.5 5]; y = [0 2.5 -2.5 2.5 -2.5 2.5...

9 years ago | 1

| accepted

Answered
How to generate the spectral profile of a picture?
The image is From Wikipedia: Zernike Polynomials <</matlabcentral/answers/uploaded_files/51679/checkerboard20%20-%20Zernike...

9 years ago | 0

Load more