Answered

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

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 months ago | 1

Answered

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

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

3 months ago | 0

| accepted

Answered

difference of image histograms

im1=rgb2gray(imread('image1_name')); im2=rgb2gray(imread('image2_name')); diff_hist=imhist(im1)-imhist(im2); plot(diff_hist) ...

difference of image histograms

im1=rgb2gray(imread('image1_name')); im2=rgb2gray(imread('image2_name')); diff_hist=imhist(im1)-imhist(im2); plot(diff_hist) ...

3 months ago | 0

Answered

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

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

3 months ago | 0

Answered

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

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

3 months ago | 0

Answered

What is this Matlab symbol '' | ''

Logical OR Operation See details here https://www.mathworks.com/help/symbolic/or.html

What is this Matlab symbol '' | ''

Logical OR Operation See details here https://www.mathworks.com/help/symbolic/or.html

3 months ago | 1

Answered

Find aggrement for Classification problem between 5 raters

Then count the number of tumors, in the result image

Find aggrement for Classification problem between 5 raters

Then count the number of tumors, in the result image

3 months ago | 0

Answered

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

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 months ago | 0

Answered

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

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 months ago | 0

Answered

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

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 months ago | 0

Answered

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

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 months ago | 0

Answered

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

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 months ago | 1

Answered

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

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 months ago | 0

Answered

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

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 months ago | 0

Answered

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

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 months ago | 0

| accepted

Answered

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

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 months ago | 0

| accepted

Answered

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.

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 months ago | 0

Answered

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

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 months ago | 0

Answered

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

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 months ago | 0

Answered

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

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 months ago | 0

Answered

How to limit the X-axis for my transfer function plot?

xlim https://www.mathworks.com/help/matlab/ref/xlim.html

How to limit the X-axis for my transfer function plot?

xlim https://www.mathworks.com/help/matlab/ref/xlim.html

3 months ago | 0

Answered

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

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 months ago | 0

Answered

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

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 months ago | 0

Answered

How to perform image recognition of characters and numbers in a image

OCR https://www.mathworks.com/help/vision/optical-character-recognition-ocr.html

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 months ago | 1

| accepted

Answered

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

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 months ago | 0

Answered

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

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 months ago | 0

Answered

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

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 months ago | 0

| accepted

Answered

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

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 months ago | 0

| accepted

Answered

Simple 2D contour plots

Create the meshgrid of R,C,F then plot contour https://www.mathworks.com/help/matlab/ref/contour.html

Simple 2D contour plots

Create the meshgrid of R,C,F then plot contour https://www.mathworks.com/help/matlab/ref/contour.html

3 months ago | 1

| accepted