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

quasi 10 anni fa | 0

| accettato

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

quasi 10 anni fa | 0

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

quasi 10 anni fa | 1

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

quasi 10 anni fa | 0

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

quasi 10 anni fa | 1

| accettato

Inviato


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

quasi 10 anni fa | 1 download |

1.0 / 5
Thumbnail

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

quasi 10 anni fa | 1

| accettato

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

quasi 10 anni fa | 0

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

quasi 10 anni fa | 2

| accettato

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

quasi 10 anni fa | 1

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

quasi 10 anni fa | 1

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

quasi 10 anni fa | 4

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

quasi 10 anni fa | 0

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

quasi 10 anni fa | 0

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

quasi 10 anni fa | 0

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

quasi 10 anni fa | 3

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

quasi 10 anni fa | 1

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

quasi 10 anni fa | 0

| accettato

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

quasi 10 anni fa | 2

| accettato

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

quasi 10 anni fa | 4

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

quasi 10 anni fa | 3

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

quasi 10 anni fa | 1

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

quasi 10 anni fa | 2

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

quasi 10 anni fa | 1

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

quasi 10 anni fa | 0

| accettato

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

quasi 10 anni fa | 1

| accettato

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

quasi 10 anni fa | 0

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

quasi 10 anni fa | 2

| accettato

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

quasi 10 anni fa | 1

| accettato

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

quasi 10 anni fa | 0

Carica altro