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

circa 9 anni fa | 1

| accettato

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

circa 9 anni fa | 0

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

circa 9 anni fa | 0

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

circa 9 anni fa | 0

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

circa 9 anni fa | 1

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

circa 9 anni fa | 0

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

circa 9 anni fa | 2

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

circa 9 anni fa | 1

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

circa 9 anni fa | 0

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

circa 9 anni fa | 0

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

circa 9 anni fa | 0

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

circa 9 anni fa | 0

| accettato

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

circa 9 anni fa | 0

| accettato

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

circa 9 anni fa | 2

| accettato

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

circa 9 anni fa | 1

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

circa 9 anni fa | 0

| accettato

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

circa 9 anni fa | 8

| accettato

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

circa 9 anni fa | 1

| accettato

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

circa 9 anni fa | 0

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

circa 9 anni fa | 0

| accettato

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

circa 9 anni fa | 0

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

circa 9 anni fa | 3

| accettato

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

circa 9 anni fa | 0

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

circa 9 anni fa | 7

| accettato

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

circa 9 anni fa | 1

| accettato

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

circa 9 anni fa | 0

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

circa 9 anni fa | 4

| accettato

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

circa 9 anni fa | 0

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

circa 9 anni fa | 0

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

circa 9 anni fa | 2

Carica altro