How to store index values in the form of arrays using for loop?
Cell array rng default M = zeros(randi([3 6]),randi([3 6])) [u,v] = size(M) indices=cell(u,v); for i = 1:u for j = 1:...

2 mesi ago | 1

Finding specific iteration in a triple for loop
You can't do that, as all having different lengths. For equaly vector sie you can get the undex position and find the correspond...

2 mesi ago | 0

| accepted

difference of image histograms

2 mesi ago | 0

Plot a signal in an interval of time
If you already have the sata ranges transXn, then you can extract only those data points having >-2 and <2 Xnsum=transXn(trans...

2 mesi ago | 0

how to use abs function in this code?
a=input('Enter the size of rows:'); b=input('Enter the size of columns:'); A=randi([-30 30],a,b) r=zeros(a); d=zeros(a); fo...

2 mesi ago | 0

What is this Matlab symbol '' | ''
Logical OR Operation See details here https://www.mathworks.com/help/symbolic/or.html

2 mesi ago | 1

Find aggrement for Classification problem between 5 raters
Then count the number of tumors, in the result image

2 mesi ago | 0

Copy move forgery detection sift Ransac
You can can give any two images to create a mosaic of images. As per definition in the code- "SIFT_MOSAIC demonstrates matchin...

3 mesi ago | 0

Trying to change pixels in an image based on values I have obtained in a previous Array.
image1=[1225 534;532 212;1315 440;39 1;1542 503;1509 902]; max1=max(image1(:)); image2=uint8(zeros(max1,max1); image2(image1(...

3 mesi ago | 0

finding forward direction in matlab
Please use the another index varibale name inside if statement, like k=1; for i=2: m-1 if a(i)>=1 && a(i-1)>i && a(i+1)...

3 mesi ago | 0

How to plot smoothing line like on excel ?
I want to plot this data in a smooth line, what a functions should i use ? smooth function https://www.mathworks.com/help/cur...

3 mesi ago | 0

intersection of lines and curves
Have you tried this way? data1 data2 diff=data1-data2; small_value=?? % Define small value to deal with samll differenece ...

3 mesi ago | 1

How to detect and count number of circles in overlap condition
Here are my submission: 1. How to count the number of disks in the image? (If I'm not mistaken,the mentioned disks are refer t...

3 mesi ago | 0

Conversion dat file into m file
Why m file ? Use the readtable or readmatrix function and save the file in allowable format. .m file represents as MATLAB scri...

3 mesi ago | 0

Update a for loop issue.
Here are my submission: Please define the "Items_Left" before the for loop (may be original number of items, during start the...

3 mesi ago | 0

| accepted

Why is @(x) used in matlab and how does it work?
Its creates the function handle, I suggest ti go through the following MATLAB Documentation, and any issue let us know here htt...

3 mesi ago | 0

| accepted

if conditional 2 out of 3
(A+B+C)>=2

3 mesi ago | 1

| accepted

Index in position 1 exceeds array bounds (must not exceed 1818)
Your all_file_matrix(Sample1.txt) have 1818 rows and you are trying to access rows(i)=1821.

3 mesi ago | 0

How to convert 1x1 sym into numeric value in the workspace?
Here https://www.mathworks.com/help/symbolic/conversion.html syms https://www.mathworks.com/help/symbolic/create-symbolic-nu...

3 mesi ago | 0

ROI found automatically Image processing
Sir the job is image segmenattion. As I see the attached first image to get the white portion, I feel thresholding may be suffic...

3 mesi ago | 0

How plot graph with loop over existing graph on new figure
K = 1.38065*10^-23; %Boltzmann constant q = 1.602 *10^-19; %charge of electron Iscn = 8.21; %Nominal SC current Vocn = 34....

3 mesi ago | 0

How to limit the X-axis for my transfer function plot?
xlim https://www.mathworks.com/help/matlab/ref/xlim.html

3 mesi ago | 0

error in code for research paper
You have not defined/evaluated the ht variables, before to use it. Ut_air(i)=1.\(((1.\UtT(i))+(1.\hT))); %.......................

3 mesi ago | 0

How to plot Receiver Operating Characteristics Curve (ROC)?
The answered, which I have provided (manual process for non supervised classification algorithm), when I was very beginnner on M...

3 mesi ago | 0

How to perform image recognition of characters and numbers in a image
OCR https://www.mathworks.com/help/vision/optical-character-recognition-ocr.html

3 mesi ago | 1

| accepted

how to extend the plot with slope of last two points till the boundary. Boundaries can be dictated by peak of adjacent plots
Multiple way: One option X1 = linspace(2,3,20); Y1 = linspace(1/1000, 1,20); X2 = linspace(14,15,30); Y2 = linspace(1/10000...

3 mesi ago | 0

Vectors must be the same length
% This program implements an explicit scheme to solve the Burgersâˆ’Huxley % eqution, with the addition of shifting the profile. ...

3 mesi ago | 0

Why My line doesn't show in a graph
s=0.7; L=0.4; T=0.2; l=0.1; d=0.025; m=0.035; t=0.2; O=0.5:0.1:1; R=s*L*(T+l+d+m)./(m*(T+d+m+t)*(T+l+d+m)-(t*O)); pl...

3 mesi ago | 0

| accepted

Saving Loop Values to Array with Non-Integer Index
Make the r and x as output arguments in the function function [pl,r,x] = Geodesic(R, b, ro, a) % This function plots a geodesc...

3 mesi ago | 0

| accepted