943 total contributions since 2014

MBA(Financial Management) @ Annamalai University

BE(Electronics & Communication Engineering) @ Anna University

Answered

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

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 månader ago | 1

| accepted

Answered

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

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

mer än ett år ago | 0

Answered

Index exceeds matrix dimensions for Vol3d.m

Make sure that you are working with 3D image

Index exceeds matrix dimensions for Vol3d.m

Make sure that you are working with 3D image

mer än ett år ago | 0

Answered

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

<https://in.mathworks.com/matlabcentral/answers/276217-write-an-image-name-to-particular-folder-using-imwrite Write an image nam...

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

<https://in.mathworks.com/matlabcentral/answers/276217-write-an-image-name-to-particular-folder-using-imwrite Write an image nam...

mer än ett år ago | 0

| accepted

Answered

Store Values in Gui

<https://in.mathworks.com/matlabcentral/answers/248438-how-to-set-values-of-specific-data-columns-in-a-uitable reference1> <htt...

Store Values in Gui

<https://in.mathworks.com/matlabcentral/answers/248438-how-to-set-values-of-specific-data-columns-in-a-uitable reference1> <htt...

mer än ett år ago | 0

| accepted

Answered

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

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

mer än ett år ago | 0

Answered

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

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

mer än ett år ago | 1

| accepted

Answered

How to supress figures popping up different filters

<https://in.mathworks.com/matlabcentral/answers/98969-how-can-i-temporarily-avoid-figures-to-be-displayed-in-matlab temporarily ...

How to supress figures popping up different filters

<https://in.mathworks.com/matlabcentral/answers/98969-how-can-i-temporarily-avoid-figures-to-be-displayed-in-matlab temporarily ...

mer än ett år ago | 0

| accepted

Answered

What are Image Detection Techniques in MATLAB ?

<https://in.mathworks.com/discovery/image-recognition.html Recognition methods in image processing>

What are Image Detection Techniques in MATLAB ?

<https://in.mathworks.com/discovery/image-recognition.html Recognition methods in image processing>

mer än ett år 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...

ungefär 2 år ago

Answered

Scanning strings in a string array

A = {'abc', 'def', 'ghi', 'lmn'}; A{1} ans = 'abc' A{1}(1) ans = 'a'

Scanning strings in a string array

A = {'abc', 'def', 'ghi', 'lmn'}; A{1} ans = 'abc' A{1}(1) ans = 'a'

ungefär 2 år ago | 0

Answered

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

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

ungefär 2 år ago | 1

| accepted

Answered

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

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

ungefär 2 år ago | 0

Answered

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

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

ungefär 2 år ago | 0

| accepted

Answered

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

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

ungefär 2 år 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 ...

mer än 2 år ago | 0 answers | 0

Answered

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

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

mer än 2 år ago | 0

Answered

How can I change penwidth in 'DrawLine' in Psychtoolbox?

<https://github.com/Psychtoolbox-3/Psychtoolbox-3/wiki/Cookbook:-screen-examples screen examples>

How can I change penwidth in 'DrawLine' in Psychtoolbox?

<https://github.com/Psychtoolbox-3/Psychtoolbox-3/wiki/Cookbook:-screen-examples screen examples>

mer än 2 år ago | 0

Answered

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

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

mer än 2 år ago | 0

| accepted

Answered

How to display the results of the system to the matlab gui that was made?

set(handles.edtm, 'String', num2str(E3));

How to display the results of the system to the matlab gui that was made?

set(handles.edtm, 'String', num2str(E3));

mer än 2 år ago | 0

Answered

delete empty cells of data array

Similar discussions * <https://in.mathworks.com/matlabcentral/answers/27042-how-to-remove-empty-cell-array-contents LInk 1> ...

delete empty cells of data array

Similar discussions * <https://in.mathworks.com/matlabcentral/answers/27042-how-to-remove-empty-cell-array-contents LInk 1> ...

mer än 2 år ago | 0

Answered

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

Follow the below steps * <https://in.mathworks.com/matlabcentral/answers/385-how-to-read-images-in-a-folder Get name of all t...

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

Follow the below steps * <https://in.mathworks.com/matlabcentral/answers/385-how-to-read-images-in-a-folder Get name of all t...

mer än 2 år ago | 0

| accepted

Answered

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

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

mer än 2 år ago | 0

Answered

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

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

mer än 2 år 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...

mer än 2 år 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...

mer än 2 år ago | 0 answers | 0

Answered

how to compare two images?

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

how to compare two images?

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

mer än 2 år ago | 0

Answered

Extracting the column value of a table

Let us assume that you have the table like this table_name = [ aggtc, 2] [ agtg, 2] [ aggc, 3] then col...

Extracting the column value of a table

Let us assume that you have the table like this table_name = [ aggtc, 2] [ agtg, 2] [ aggc, 3] then col...

mer än 2 år ago | 0

Answered

How do I generate a video from images that I create on MATLAB?

<https://in.mathworks.com/help/matlab/examples/convert-between-image-sequences-and-video.html Create New Video with the Image Se...

How do I generate a video from images that I create on MATLAB?

<https://in.mathworks.com/help/matlab/examples/convert-between-image-sequences-and-video.html Create New Video with the Image Se...

mer än 2 år ago | 0