Answered
How to assign scores to random numbers
%As per your question-Code here n=100; even_player=0; odd_player=0; for k=1:n number=randi([1 2],1,1) if mod(nu...

8 years ago | 1

Answered
How to calculate The CNR value of OCT image?
CNR-contrast-to-noise ratio, a measure of image quality based on a contrast rather than the raw signal. <</matlabcentral/answ...

8 years ago | 1

Answered
how to find angles of a triangle
To find the angle, please follow the following attached figure- <</matlabcentral/answers/uploaded_files/107029/20180303_16463...

8 years ago | 1

| accepted

Answered
What mean ROC chart
ROC Chart means receiver operating characteristics, it is a well-known and important curve for analyzing the performance of any ...

8 years ago | 0

Answered
how to use 'bool' function?
% A bool function means it returns to either true or false based on condition statement if k==c % Condition statement Tr...

8 years ago | 1

Answered
Can you please answer how to save snapshot during video recording
%Snapshot in_vid=videoinput('winvideo', 1); set(in_vid,'ReturnedColorSpace','RGB'); image_shot=getsnapshot(vid); i...

8 years ago | 0

| accepted

Solved


Is my wife right?
Regardless of input, output the string 'yes'.

8 years ago

Solved


Determine if input is odd
Given the input n, return true if n is odd or false if n is even.

8 years ago

Solved


Add two numbers
Given a and b, return the sum a+b in c.

8 years ago

Answered
why i am getting Undefined variable error?
I have run it, now there is no error, Please Note there is no space between Object & Polarity, No comma in [centreBlue rediiblue...

8 years ago | 0

Answered
comparision of database images
% Please save all images name in symmetrically before doing the operation % names for example im1,im2,im3... % Pls en...

8 years ago | 0

Answered
Images read and comparing with every other images in database
% Please save all images name in symetric manner before doing the operation % names for example im1,im2,im3... % Pls...

8 years ago | 1

Answered
can u pls explain this code in detail of PSNR ?
function psnr=get_PSNR(im1,im2) se=0; %PSNR use to calculate the quality of the image (Noise context) Check Formula to calcula...

8 years ago | 0

| accepted

Answered
Finding Connected components to a particular pixel in binary image
% Try following CC=bwconncomp(binary_image); % Default 8 Pixel connected you can change it by cc=bwconncomp(binary_i...

8 years ago | 0

Answered
Extract only the voiced part from a wav file?
%Test for Audio Extraction % Source@Stack Overflow file='wav.AVI'; % Wav input file file1='targetfile.wav'; hmfr= video....

8 years ago | 0

Question


How to display pair image (One RGB and other binary)?
Surprise, when I want to pair display of two images, one is RGB and other binary, Matlab showed some error. It perfectly works w...

8 years ago | 1 answer | 0

1

answer

Answered
Is there any comm.ErrorRate in matlab R2015a version?
I don't think so in 2015a. https://in.mathworks.com/help/comm/ref/comm.errorrate.step.html

8 years ago | 0

| accepted

Answered
Plotting and returning handle to line?
clc;clear all; t=1:.5:10; % reduce the steps, now more clear graphs visible for n=0:100; theta=n*pi/10; hlot=cos(2*pi*t-t...

8 years ago | 0

| accepted

Answered
Saving multiple jpg files to create a database
for k=1:500 %do the operation as per your proposed work %k=final_resultant image_which you want to save destinatio...

8 years ago | 1

| accepted

Question


How to check the accuracy without gold data image?
I have done some segmentation work of 400 images, in fig shown the input image(left side) and resultant(right side).No how can I...

9 years ago | 1 answer | 0

1

answer

Answered
how to find color of a X,Y coordinate
% For an image im1=imread('name_file.jpg'); im1(100,20) % Display the color level of the coordinate 100,20 for gray ...

9 years ago | 0

Answered
How to output a for loop as a table with each iteration and result displayed
% P position with "for loop" statement> Not seems correct way, Are you looking for following one n=10; for ite=1:n % n n...

9 years ago | 2

Answered
How can I load all files using 'disp'?
%Here I am calling images, you can do similar way for files calling path_directory='stare_test'; % 'Folder name'>Its shou...

9 years ago | 0

Answered
Hello,anyone able to help me find the threshold of this image tht i toook for my final project .
% Are you looking for this one or you ask for paticular threshold value (Numerial)? image_ogi=imread('RGB STICKER.jpg'); gray...

9 years ago | 0

Answered
How to input a position in a matrix?
% A={1 2 3;4 5 6} % If you want to locate any position suppose A{2,2} % Go to the particular position>> its go to ...

9 years ago | 0

Answered
Can someone please provide me with the code for this plot
When you solved the equation, it becomes y=(x^3/3)*Exp(-1) % x=0:0.1:1; t=exp(-1); y=((x.^3)/3)*t; plot(x,y); % <</...

9 years ago | 1

Answered
Matlab R2016b
Yes, Matlab R2016b is compatible with CVX. You can get it from your lab instructor(licensed).

9 years ago | 0

Answered
How to read an excel spreadsheet, fetch a certain cell data
% filename='excel_sheet.xlsx'; % This file should be inside the working directory/Complete path Name sheet=1; c...

9 years ago | 0

Answered
Find a White area in image (face)
Total white area within the image % nWhite_pixels=sum(face_image(:)); [rows columns depth]=size(face_image); ...

9 years ago | 1

Question


How to segment following all yellow spots (e.g. within blue circles)? Looking for efficient and fast approach.
I have tried with various thresholding approaches, including Otsu's also. Please guide me the best approach to do that. Just hin...

9 years ago | 1 answer | 0

1

answer

Load more