Community Profile

photo

prasanth s


Last seen: 11 months ago Active since 2018

Statistics

All
  • Knowledgeable Level 3
  • Community Group Solver
  • Personal Best Downloads Level 1
  • 3 Month Streak
  • Explorer
  • Thankful Level 1
  • First Review
  • First Submission
  • Revival Level 2
  • Solver
  • First Answer

View badges

Content Feed

Submitted


Bouncing Balls Simulation
This code simulates the free falling and bouncing motion of balls with different bouncing ratio

1 year ago | 2 downloads |

Thumbnail

Answered
Droplet size calculation of a spray image
using 'kmeans' for segmentation and 'regionprops' to get properties of particles, image=imread('particle.jpg'); jqimage=rgb2...

1 year ago | 0

Answered
Comparing an occurance of colors between 2 images
convert the images to HSV colorspace and use the hue component to clustering. match the colors using the obtained cluster cente...

1 year ago | 0

| accepted

Answered
Can anyone explain me how to read ecg .dat, .hea, .atr files ?
check ecg-kit https://physionet.org/content/ecgkit/1.0/common/

1 year ago | 0

| accepted

Solved


Find the maximum number of decimal places in a set of numbers
Given a vector or matrix of values, calculate the maximum number of decimal places within the input. Trailing zeros do not count...

1 year ago

Answered
Can someone help me with the square wave plot here?
T=12; N=3; D=25; A=3; t= 0:0.001:1; x = A*((1+square(2*pi*N*t,D))/2); t2=t*T*N; plot(t2, x);

1 year ago | 1

Answered
How to export data used to make MATLAB figure?
fig=openfig('SophiesFigure_nanodomains.fig'); data1=fig.Parent.Children(2).CurrentAxes.Children.YData %histogram xdata=ww.Cu...

1 year ago | 0

Answered
loops and conditional statements in Matlab for data filtration
A=[1 3 4 2 3 -9 4 -7 8 6 7 -1 2 3 4 6 19 7 12 3 -4 -5 6 7 8 2 3 5 2 3 4 ]'; A(A<0)=0; A(A>10)=0;

1 year ago | 0

| accepted

Answered
How to extract value from a matrix with given indices
code example is ind = sub2ind(size(matrix),index,1:5); new=matrix(ind)

1 year ago | 1

Solved


Make roundn function
Make roundn function using round. x=0.55555 y=function(x,1) y=1 y=function(x,2) y=0.6 y=function(x,3) ...

1 year ago

Solved


Rounding off numbers to n decimals
Inspired by a mistake in one of the problems I created, I created this problem where you have to round off a floating point numb...

1 year ago

Solved


Matlab Basics - Rounding III
Write a script to round a large number to the nearest 10,000 e.g. x = 12,358,466,243 --> y = 12,358,470,000

1 year ago

Solved


Matlab Basics - Rounding II
Write a script to round a variable x to 3 decimal places: e.g. x = 2.3456 --> y = 2.346

1 year ago

Solved


Check that number is whole number
Check that number is whole number Say x=15, then answer is 1. x=15.2 , then answer is 0. http://en.wikipedia.org/wiki/Whole_numb...

1 year ago

Solved


MATLAB Basic: rounding IV
Do rounding towards plus infinity. Example: -8.8, answer -8 +8.1 answer 9 +8.50 answer 9

1 year ago

Solved


MATLAB Basic: rounding III
Do rounding towards minus infinity. Example: -8.8, answer -9 +8.1 answer 8 +8.50 answer 8

1 year ago

Solved


MATLAB Basic: rounding II
Do rounding nearest integer. Example: -8.8, answer -9 +8.1 answer 8 +8.50 answer 9

1 year ago

Solved


MATLAB Basic: rounding
Do rounding near to zero Example: -8.8, answer -8 +8.1 answer 8

1 year ago

Answered
implay a video and draw n points with ginput
try: h=implay(video) [x,y] = getpts(h.Visual.Axes)

1 year ago | 0

| accepted

Answered
How to match array data and excel data?
if all data type is in array type, the matching row positions can be obtained using rows=all(B==I,2) contents from 'A' obtain...

1 year ago | 0

Answered
how to convert hours and minutes from decimals to datetime objects
First convert it into string type with the format "yyyy-MM-dd hh-mm" using hours_decimal=15.9 myDate=string("2008-05-07 ")+str...

1 year ago | 0

Answered
Anyway to Pre-allocate Memory for Struct
s=struct; s(1).Name=0 s(2).Name=0

1 year ago | 0

Answered
how to find the length of the foot automatically from the image
refer https://in.mathworks.com/help/images/image-segmentation.html https://in.mathworks.com/help/images/ref/regionprops.html...

1 year ago | 0

Answered
Select specific area of a DICOM file
remove noise using median filter IM=medfilt2(P); find gradient [Gmag,Gdir] = imgradient(IM); then apply circle detection or ...

1 year ago | 0

| accepted

Submitted


piratepal colors for plots
New colormap for plots (from piratepal function in R)

1 year ago | 1 download |

Thumbnail

Answered
GAN examples for Neural Network/Deep Learning Toolbox of R2018b or earlier?
you can find some in github. https://github.com/jonzhaocn/GAN-Base-on-Matlab

4 years ago | 0

| accepted

Submitted


Cyclic cellular automaton simple
cyclic cellular automaton implementation as from the website https://codepen.io/jlfwong/pen/YWZoyk

4 years ago | 4 downloads |

Thumbnail

Answered
How Can I create struct field in a loop?
'struct' command creates new structure. you have to create new structure at the starting of loop. add new fields to the structur...

4 years ago | 0

| accepted

Answered
Specific change points in large dataset
Here is one of the methods using 'diff' function. use following code to get all the difference values and plot those values to...

4 years ago | 0

Answered
read multiple csv files from different subfolders
Use 'dir' function to get the directory and file list of any folder. e.g D=dir('Raw data'); output 'D' is an structure array c...

4 years ago | 0

Load more