Answered
Using Logical Indexing to Print Certain Values From a Large Set of Data
M = readmatrix('/Users/guest/Desktop/Aug/result/User 0.csv'); time=M(:,4); distance=M(:,48); idxDistance=distance>0; time_di...

10 days ago | 0

Answered
Add Rows to Matrix
The issue is: zeromatrix=zeros(a,length(x)); %................^ sizes must be scalar value, you pass the vector a Is this one...

10 days ago | 0

Answered
How to add a space smaller the the standard space in matlab axis label
"Is there a way to increase the spacing between the parentheses and the text" Add space as per requirement, is there any issue?...

11 days ago | 0

Answered
Cropping image with Bounding Box
Please note imcrop creates an interactive Crop Image tool with the image displayed in the current figure. See detail Q = imrea...

11 days ago | 0

Answered
Error in newton rapshon problem. My error in iteration line (err(i))=abs(Y-Yold)
>> whos Y Name Size Bytes Class Attributes Y 3x3 72 double >> ...

11 days ago | 2

| accepted

Answered
How to segment an array to different parts?
a = [2,20,2,10,10,10,10,9,10,3,18,3] segment_data=cell(1,length(a)/3) l=1; for i=1:3:length(a)-3 segment_data{l}=a(i:i+2...

11 days ago | 0

Answered
could anyone help me to solve the issue
result=compose('%1.4f',A) compose here

11 days ago | 0

Answered
problem in matlab code
A= B;

13 days ago | 0

Answered
How do I draw the scatterplot of an RGB image?
image_test=rgb2gray(imread('2.png')); % Change the image [rows colm]=size(image_test); original_data=zeros(1,56512); diag_dat...

13 days ago | 0

| accepted

Answered
how can i find edges in an image?
i want to implement edge detecting methods like canny,fuzzy and sobel techniques.how can i do that?is there any code for that? ...

14 days ago | 0

| accepted

Answered
how to draw histogram of an RGB image
image_test=imread('Baboon.jpeg'); red_plane=image_test(:,:,1); green_plane=image_test(:,:,2); blue_plane=image_test(:,:,3); ...

14 days ago | 0

| accepted

Answered
convert an image into binary matrix and visualize the coordinate of each pizel
To visulise the binary use it BW = imbinarize(I) or I = imread('origianl_picture.jpg'); BW = imbinarize(I); imshow(BW) 2n...

15 days ago | 0

Answered
how to save looping data ?
data_file=cell(1,nn); for jj= 1:nn; %...... [data, txt,all] = xlsread(FILE_NAME); %...........^ change this variable name...

15 days ago | 0

Answered
How to plot the graphs when b2 varies from 0 to 2 in the code I attached below?
"How to plot the graphs when b2 varies from 0 to 2 in the code I attached below?" Function file: function v = funtryp(t,y,Z,b2...

15 days ago | 1

| accepted

Answered
how to save feature vector of SURF for each image and train, test it for classification to svm?
"output for image 1: 322*64 output for image 2: 593*64 and so on the value*64 changes for each image. can anyone please help m...

15 days ago | 0

| accepted

Answered
How to draw this graph using matlab code ignore the labeling
t=1:.1:8; y=log(t); y(t>5)=0; plot(t,y,'b','linewidth',1); set(gca,'YTickLabel',[]); xlabel('Energy'); ylabel('D(E)'); %Yo...

16 days ago | 0

| accepted

Answered
Unfold 3D I x J x K to 2D I x JK
"I am trying to unfold a matrix in the form I x J x K to I x JK" May be: Are you looking for this one? [R C D]=size(M); X=res...

16 days ago | 0

| accepted

Answered
How to mask the inner region of this Binary Image? Can anyone give some idea?
I would suggest you the slightly improved on thresholding (segmentation results), which leads great help to disconnect the black...

16 days ago | 0

| accepted

Answered
combine the 2 binary images
Z=M & N; %Preferred or Z=and(M,N);

16 days ago | 0

| accepted

Answered
combine the 2 images
M1=imread('M.jpg'); N1=imread('N.jpg'); result=imfuse(M1,N1); Please note those white area represents having pixel with maxim...

16 days ago | 2

| accepted

Answered
I get index error, but the correct result. How can I avoid this?
"I am trying to solve this Cody problem where I need to remove all rows that contain NaN-s". A =[1 3 6 NaN 3 NaN]' idx=find(i...

16 days ago | 1

| accepted

Answered
could anyone help me to solve the error in the following code
"I want to display first two maximum vaues in each column" out=sort(A(:,:),'descend'); data=out(1:2,:) Result: data = ...

16 days ago | 3

Answered
How to split/reduce dimension of a variable
Lets var is the main variable- var1=var(:,:,1,:); var2=var(:,:,2,:);

17 days ago | 1

| accepted

Answered
Undefined function 'FFGrab' for input arguments of type 'char'.
Check here file is avalible, you must state the FFGrab.

17 days ago | 1

Answered
loop for image encryption gives error
for j=1:4:Y-3

17 days ago | 0

| accepted

Answered
Matlab codes to find MSE of many images against one
MSE_data=[]; PSNR_data=[];; Images=dir('C:\Complete_path\Input_folder_name\*.png'); %................Input Images, Note on .f...

17 days ago | 1

| accepted

Answered
Calculate length of white pixels in binary image
Lets, image_bw is the binary image.(Please not your enclosed image have white boundary, I ignored that) se=strel('disk',4); r...

17 days ago | 0

Answered
How to save Histogram of Multiple Images
Images=dir('D:\DIAH\[MATLAB]cv1-fingerspelling-recognition-master\cv1-fingerspelling-recognition-master\imagesss*.jpg'); %Databa...

17 days ago | 0

Answered
How to count image binary
Let's say input binary image is image_bw result=bwareafilt(image_bw,1,'Largest'); count_w=sum(result); fprintf('The white pix...

17 days ago | 1

| accepted

Answered
how to load Image Datastore and make them of equal size
Images=dir('C:\complete_path\folder_name\*.png'); %Database Image folder %...........................................^ note on ...

18 days ago | 0

Load more