Answered
Circle detection using imfindcircle
Hello Kika I found a way to spot the inner circle: 1. capture A=imread('im1.jpg'); figure(1);h1=imshow(A); ...

9 years ago | 1

| accepted

Answered
Use a character variable for a title in a plot function
Balsip assuming LabX is type double, uint, .. use Site=num2str(LabX) no need for '' around the variable *LabX* ...

9 years ago | 0

Answered
plot3 gives strange plot
refine, your plot is suffering alias. What about this format long;t = [0:0.00001:0.1]; A = 1; y1 = A*sin(1000*t); ...

9 years ago | 0

Answered
How to convert pixel size to inches
Ashwini You correct distance by correcting 2 angles, vertical and horizontal. Try Michael Chan's perspective correction pa...

9 years ago | 0

Answered
matrix rows combination with all possibilities
Summyia 1. instead of binary, let me use the decimal figures: B1=[sum(2.^[6:-1:0].*P1(1,:));sum(2.^[6:-1:0].*P1...

9 years ago | 1

Answered
create a new matrix with interval and assign strings in front of them
Hi herb would you please consider marking my answer as Accepted Answer? A=[1;0;2];range=4;step=2; L=[-range:step:rang...

9 years ago | 0

Answered
Help with breaking into windows based on a condition??
Hi Satya convolution is very useful to answer your question 1. capturing data and display A=importdata('NTE.csv') ...

9 years ago | 2

Answered
I read set of images and I removed the borders of them, I need to save the resulted images in a new folder but i couldnt. I used this code but I didnt get a result, I need a help, plz?
Hi Ahmad this code does what you want <</matlabcentral/answers/uploaded_files/67559/define_2_offsets.jpg>> . A=i...

9 years ago | 1

Answered
Either I or matlab is going crazy with vertcat using brackets
Sam Remove all spaces in the crashing line. [2*(e(2)*e(4)-e(3)*e(1));2*(e(3)*e(4)+e(2)*e(1));e(4)^2+e(1)^2-e(2)^2-e(3)^2...

9 years ago | 0

Answered
How to filter and arrange text in a file using textscan
Deside the command *sort* sorts your data the way you are asking for format short sort(To_Excel_Data,1) ans = ...

9 years ago | 0

Answered
Using strcmp on multiple strings to get a logical array
Marc 1. If all 2nd halves of the strings contained in Event is '1', it is reasonable to ignore the entire column: Eve...

9 years ago | 0

Answered
I need help writing a matlab function
Hi Mateo what about this function sn=sum_odds(n) narginchk(1,1); if(n<0) || (n==0) error(message('i...

9 years ago | 0

| accepted

Answered
How to analyze area of flow in liquid with a 2D image?
Christine you only plot 4 images, yet in the command subplot your are telling it to make room for 6 images, let me explain: ...

9 years ago | 0

| accepted

Answered
Image correction to find circles
Adem My solution works without any particular color. I opted to work on blue because (wrongly) assumed the images you work...

9 years ago | 2

| accepted

Answered
Image correction to find circles
Adem *imfindcircles* works fine if you change the parameter Sensitivity from the default 0.85 to 0.95 Follow these steps:...

9 years ago | 1

Answered
How to give a step input with special shape?
1. As you may have already considered when writing your question, attempting to define the step the way you have, without con...

9 years ago | 0

| accepted

Answered
Fix Error: Operands to the || and && operators must be convertible to logical scalar values. Help Please.
you are not trying to pass 1 function to *fsolve* but 100 functions, which is the amount of components of variable *Re* Just ...

9 years ago | 8

| accepted

Answered
I am trying to plot the percent area of certain color pixels in an image. Need some assistance.
Joe Lilek the following solves your question % capture initial image A=imread('im1.jpg');imshow(A) [sz1 sz2 sz...

9 years ago | 1

| accepted

Answered
Pre-determining the number of lines in a text file
hi Matt the command importdata returns a cell with all lines that are not empty of a text file. The amount of elements of...

9 years ago | 0

Answered
Why does this split of the plot lines doesn't work?
the graph function is not the same as in grafik.png and the lower area needs some improvement, but would you consider the follow...

9 years ago | 0

| accepted

Answered
polar plot bar chart combo or something similar?
Mr Cowen simplifying for just 5 sections with a start point set to [10 10] with possible angles multiple of of let's...

9 years ago | 0

Answered
linewidth for specific line
Noam I kindly ask to have the following answer marked as Accepted Answer: x = 1:1:10; L=5 % amount of lines y = r...

9 years ago | 3

| accepted

Answered
Why does this split of the plot lines doesn't work?
Herr RĂ¼ger I am confident I can supply the correct answer, but i kindly ask for some clarification. Dein script, with lin...

9 years ago | 0

Answered
Sum of fourier series:
Philip the 1st part of Walter's answer has syntax error: * it's most likely that t will have a higher amount of elements t...

9 years ago | 7

| accepted

Answered
Sine Wave Amplitude Stability
Haris I am going to simplify the formulas, '~' instead of '=' to omit constants 1. This is your circuit, i just flipped...

9 years ago | 1

| accepted

Answered
'logical' discrepancy
Yan 1. with command vpa taking below 15 precision digits seems to work ok: vpa(0.5 * sqrt(2) * l * cosd(theta),10)== vp...

9 years ago | 0

Answered
fm modulation without using fmmod
Tariq If you open fmmod.m the key lines are t = (0:1/Fs:((size(x,1)-1)/Fs))'; t = t(:,ones(1,size(x,2))); ...

9 years ago | 4

| accepted

Answered
i have a problem ,
1. try function gradient on the function f(x,y,z) to obtain the 3D function to solve note that gradients (AKA directiona...

9 years ago | 0

Answered
How can I create a table in Access with Matlab that allows for different names of columns and rows without being hard coded?
Why not starting from any of this links * Export to Excel format, Access will open it anyway <https://uk.mathworks.com/help/...

9 years ago | 0

Answered
How to segment this image correctly?
I tried watershed and label2rgb but didn't produce the desired result 1. A=imread('im1.jpg');imshow(A) BW=watershed(A...

9 years ago | 2

Load more