Community Profile

photo

Dishant Arora


Panjab University

Last seen: 2 months ago Active since 2012

Statistics

All
  • Knowledgeable Level 5
  • 3 Month Streak
  • Thankful Level 1
  • Pro
  • First Answer
  • Speed Demon
  • Commenter
  • Promoter
  • Solver

View badges

Content Feed

View by

Answered
What kind of function can I use to measure the tightness of each cluster in matlab?
<https://in.mathworks.com/help/stats/evalclusters.html evalclusters> You may opt for silhouette score.

6 years ago | 1

| accepted

Answered
How to import data for multiple files in "for" loop?
<http://matlab.wikia.com/wiki/FAQ#How_can_I_process_a_sequence_of_files.3F How can I process a sequence of files?>

6 years ago | 0

| accepted

Answered
How to plot surface in matlab..???
doc mesh doc surf

8 years ago | 0

Answered
How to import data from workspace to simulink using input port ( not simin or from mat file)
You should make use of from workspace(simin) block for importing data from workspace. Inport block is used to establish the link...

8 years ago | 0

| accepted

Answered
Clearing an image on a push button
set(handles.pushbutton1 , 'Cdata' , []);

9 years ago | 0

| accepted

Answered
How to kill all figure windows in MATLAB?
close all

9 years ago | 8

Answered
How to use subplot in conjunction with set function on plot
Axes1 = subplot(1 , 2, 1); h1 =plot(x1 , y1); Axes2 = subplot(1 , 2 , 2); h2 = plot(x2 , x2) Here Axes1 and Axes2 are han...

9 years ago | 0

Answered
Proportional text font size, or editing font size when figure resize occurs?
get(0 , 'ScreenSize') % Gives the default screen size in pixels get(0 , 'ScreenPixelsPerInch') % Gives the default R...

9 years ago | 0

| accepted

Answered
how to get simulink model outputs simultaneously(when the simulation is running)?
You can bring or save simulation results to your workspace by making use of following blocks. 1.) to workspace form the sinks...

9 years ago | 1

Answered
How to plot grey level variation along horizontal cross-section of any image according to position of the mouse?
I = imread('cameraman.tif'); [row , column] = size(I); imshow(I) [x , ~] = ginput(1); plot(1:column , I(x , :))

9 years ago | 0

| accepted

Answered
how to read mutiple images from folder without overwriting of matrix and images
Check this out <http://matlab.wikia.com/wiki/FAQ#How_can_I_process_a_sequence_of_files.3F How can I process a sequence of files?...

9 years ago | 0

Answered
INTRODUCING A DEFINED INPUT IN SIMULINK
Use *inport* block to read data from matlab workspace. Check this <http://www.mathworks.in/help/simulink/slref/inport.html inpo...

9 years ago | 1

Answered
How can I insert row into matrix?
A1(3 , 1:2) = A(1,:);

9 years ago | 0

| accepted

Answered
How to make Xaxis (y=0) black in grid
You can change axis color by changing the _xcolor_ or _ycolor_ property of axis: h = gca; set(h , 'ycolor' , [1,1,1]); se...

9 years ago | 0

Answered
Assign value to a circular mask
Use logical indexing. circDisk = double(mask); % Converting mask to the type double circdisk(mask) = 5 % or whatever value...

9 years ago | 0

| accepted

Answered
Loading multiple excel files with different names
See <http://matlab.wikia.com/wiki/FAQ#How_can_I_process_a_sequence_of_files.3F How can I process a sequence of files?>

9 years ago | 0

Answered
How to do polar plot correctly?
Define your _symb_ a cell array that is symb = {'ro' 'bd' 'gs' 'm^' 'cv' 'r+' 'bx'} To know where you went wrong, check...

9 years ago | 0

| accepted

Answered
Convert cell into double
If your data follow this strict order and the 3rd column refers to date, try this: function y = fun(x) if isnan(str2double...

9 years ago | 1

Answered
I have an image and want to make a rectangle around black part which is in the middle of image.
Go for connected component labelling and check out for bounding boxes parameter, plot it. For more information check out this de...

9 years ago | 1

Answered
How to plot dynamically signals of different axis individually?
plot(x1 , y1 , 'r' , x2 , y2 , 'b') or doc hold

9 years ago | 0

Answered
how to save all pixel co-ordinate locations as a vector ??
% Use Linear Indexing/Vector Indexing ind = 1:M*N; % For an image of dimension MxN

9 years ago | 0

Answered
how to replace elements of a matrix position wise?????
A(:,3:4)=~A(:,3:4)

9 years ago | 2

| accepted

Answered
How do i create a hole or cut a certain portion of a plane in GUI?
Z = zeros(100,100); Z(40:60,40:60) = nan; mesh(Z)

9 years ago | 1

Answered
how to display images using subplot in right corner of gui
h = subplot('position' , [0.7,0.7,0.2,0.2]) % [left bottom width height] imshow(imageName , 'parent' , h);

9 years ago | 1

Answered
how i divide n images present in a folder into 4 equal parts
<http://matlab.wikia.com/wiki/FAQ#How_do_I_split_an_image_into_non-overlapping_blocks.3F How do I split an image into non-overla...

9 years ago | 0

Answered
Produce pulse of desired power
Because maximum absloute value of a sample in sequence can't exceed sqrt(E) and can be equal to sqrt(E) if and only if its a sin...

9 years ago | 1

Answered
please tell me the meaning of following code
This code is calculating probably density function of colors(black, white, red , yellow and so on) present in image out of an im...

9 years ago | 0

| accepted

Answered
How do i add button to a output figure from GUI?
<http://blogs.mathworks.com/videos/2005/10/03/guide-video-part-two/?s_tid=Blog_Videos_Category How to pass data from one GUI to ...

9 years ago | 0

Answered
Convert the matrix to the color and making images
doc image

9 years ago | 0

Answered
Could you guys explain me how to get a value back in a case like this...?
Make use of global variables or see <http://www.mathworks.in/help/matlab/ref/assignin.html assignin>

9 years ago | 0

| accepted

Load more