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

casi 10 años hace | 0

| aceptada

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

casi 10 años hace | 0

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

casi 10 años hace | 1

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

casi 10 años hace | 0

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

casi 10 años hace | 1

| aceptada

Enviada


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

casi 10 años hace | 1 descarga |

1.0 / 5
Thumbnail

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

casi 10 años hace | 1

| aceptada

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

casi 10 años hace | 0

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

casi 10 años hace | 2

| aceptada

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

casi 10 años hace | 1

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

casi 10 años hace | 1

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

casi 10 años hace | 4

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

casi 10 años hace | 0

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

casi 10 años hace | 0

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

casi 10 años hace | 0

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

casi 10 años hace | 3

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

casi 10 años hace | 1

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

casi 10 años hace | 0

| aceptada

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

casi 10 años hace | 2

| aceptada

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

casi 10 años hace | 4

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

casi 10 años hace | 3

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

casi 10 años hace | 1

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

casi 10 años hace | 2

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

casi 10 años hace | 1

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

casi 10 años hace | 0

| aceptada

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

casi 10 años hace | 1

| aceptada

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

casi 10 años hace | 0

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

casi 10 años hace | 2

| aceptada

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

casi 10 años hace | 1

| aceptada

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

casi 10 años hace | 0

Cargar más