Community Profile

# Stalin Samuel

943 total contributions since 2014

MBA(Financial Management) @ Annamalai University
BE(Electronics & Communication Engineering) @ Anna University

View details...

Contributions in
View by

How to use a for loop to calculate the sum of a row vector?
x = [1, 23, 43, 72, 87, 56, 98, 33] ; y = 0; for n = 1:length(x) y = y + x(n); end

12 months ago | 1

| accepted

How do I vectorize each digit of an integer and store it as an array?
<https://in.mathworks.com/matlabcentral/answers/142887-multiple-digit-number-in-to-individual-digits multiple digit number in to...

1 year ago | 0

Index exceeds matrix dimensions for Vol3d.m
Make sure that you are working with 3D image

1 year ago | 0

How to imwrite an image with a different name than original, in specified directory?

1 year ago | 0

| accepted

Store Values in Gui

1 year ago | 0

| accepted

how to get the (x,y) coordinate values of points touching bounding box
Let us assume that, you have the image(from bounding box) in variable "Elysi". Then you can get the co-ordinate values using bel...

1 year ago | 0

How can I correctly use if and elseif?
create a file with below code function [tf] = time(t,toe) tk=t-toe; if tk>302400; tf = ...

1 year ago | 1

| accepted

How to supress figures popping up different filters

1 year ago | 0

| accepted

What are Image Detection Techniques in MATLAB ?
<https://in.mathworks.com/discovery/image-recognition.html Recognition methods in image processing>

1 year ago | 0

| accepted

Solved

How to subtract?
* Imagine you need to subtract a few numbers using MATLAB. * You will not be using eval for this task. * Given two ASCII strin...

2 years ago

Scanning strings in a string array
A = {'abc', 'def', 'ghi', 'lmn'}; A{1} ans = 'abc' A{1}(1) ans = 'a'

2 years ago | 0

Error: Matrix Dimensions must agree while using char
use "strcmp" for comparison a = 10; b = input('My name is: ', 's'); if strcmp(b,'Abdul') a = 11067; else ...

2 years ago | 1

| accepted

How can i merge three columns into one
z=[A;B;c]

2 years ago | 2

Want to create an array of filenames on every row of a matrix
%hello = 0; for i = 1:8 str = [strcat('world',' ', num2str(i))] hello{i,:} = str; end

2 years ago | 0

How do I take the average of every 50th term in a 2500x1 vector?
s=rand(2500,1); %2500x1 vector Out1=mean(reshape(s,[50 50])); %mean of every 50 values out2=mean(s(50:50:2500)) % mean ...

2 years ago | 0

| accepted

How to avoid this problem "consider preallocating the memory .for speed" in the below sample code
Refer the below url which has example of Preallocation # <https://in.mathworks.com/matlabcentral/answers/99124-how-do-i-pre-...

2 years ago | 0

Question

how to excecute MongoDB query from matlab
* I have successfully made the <https://www.mathworks.com/examples/matlab/community/20021-matlab-interface-to-mongodb-workflow ...

2 years ago | 0 answers | 0

### 0

How to connect USB webcam in Motion-Based Multiple Object Tracking Matlab Example.
<https://in.mathworks.com/help/supportpkg/usbwebcams/ug/acquire-images-from-webcams.html details: Acquire Images from Webcams>...

2 years ago | 0

How can I change penwidth in 'DrawLine' in Psychtoolbox?
<https://github.com/Psychtoolbox-3/Psychtoolbox-3/wiki/Cookbook:-screen-examples screen examples>

2 years ago | 0

webread is not working or sending an error code
* i Think you have saved your file name as "webread.m" * If so ,Kindly rename the file

2 years ago | 0

| accepted

How to display the results of the system to the matlab gui that was made?
set(handles.edtm, 'String', num2str(E3));

2 years ago | 0

delete empty cells of data array

2 years ago | 0

matlab code for read all jpeg images in a directory and convert it into png

2 years ago | 0

| accepted

Add a waitbar to a function execution
I have not found any error in the given code. I tested (Matlab 2017a) the code and wait bar working fine.Instead of your functio...

2 years ago | 0

Optimal for Image analysis
* PNG offers you lossless data comparing to JPEG ( <https://www.labnol.org/software/tutorials/jpeg-vs-png-image-quality-or-bandw...

2 years ago | 0

Solved

Determine whether a vector is monotonically increasing
Return true if the elements of the input vector increase monotonically (i.e. each element is larger than the previous). Return f...

2 years ago

Question

MATLAB 2017a has stopped working while executing webcam command .
When i was trying to take a snapshot using my webcam, "webcamlist" command detected my webcam perfectly. But while executing "w...

2 years ago | 0 answers | 0

### 0

how to compare two images?
click <https://stackoverflow.com/questions/8938817/image-comparison-using-matlab here> to view similar discussions and solution...

2 years ago | 0