Community Profile

photo

Anmol Dhiman


Last seen: Today

MathWorks

155 total contributions since 2019

I am an Application Support Engineer 2, Engineering Development Group at MathWorks.
Disclaimer: Any advice or opinions here are my own, and no way reflect that of MathWorks .

Anmol Dhiman's Badges

  • Knowledgeable Level 3
  • Revival Level 2
  • 3 Month Streak
  • First Answer
  • Solver

View details...

Contributions in
View by

Answered
kmean with dtw distance
Hi Vincent, In my understanding you want to use your custom distance function (dtwdist) with kmediod(). For this you don't need...

1 month ago | 0

Answered
How to increase ScansAvailableFcnCount when using MATLAB to control NIDAQ
Hi Shengjie, Refer to link under Set ScansAvailableFcnCount to change the value for ScansAvailableFcnCount. Regards, Anmol ...

2 months ago | 0

Answered
MATLAB crashes on opening in mac
Hi Shyam, Regenerating preferences may resolve the issue. The steps to do this can be found at: https://www.mathworks.com/matl...

2 months ago | 0

Answered
extract value from a multidimentional array for exact value for two dimensions
Hi Galga, I understand that you want to extract all 120 time value for given location (lattitude , longitude) from zos where zo...

2 months ago | 0

Answered
How to search and extract specific string and data and write into new variable from file ?
Hi Jeevan, You can follow the below approach fid = fopen('pH.txt'); % Open the file line_ex = fgetl(fid); % read a line ...

2 months ago | 0

Answered
How to show volumetric data with app designer?
Hi Du, I am assuming you want to display the volumetric 3D data. You can try Volume Visualization App. Regards, Anmol Dhiman

2 months ago | 0

Answered
Plotting Center of Mass from Load Cell data
Hi Sebastian, Yes you can use Simulink/ MATLAB for getting the the data from loadCell and then visualuzing them in a graph. Hav...

2 months ago | 0

| accepted

Answered
plot Time-activity curve from .TAC file using Matlab
Hi Viktor, I am afraid we cannot open .tac file in MATLAB. You can extract the 4 variables mentioned above from third party sof...

2 months ago | 0

Answered
covert true colour image to gray
Hi Rakesh, Working on the example given in rgb2gray RGB = imread('peppers.png'); % RGB size(RGB) % It gives 384 512 3 ...

3 months ago | 0

Solved


There are 10 types of people in the world
Those who know binary, and those who don't. The number 2015 is a palindrome in binary (11111011111 to be exact) Given a year...

3 months ago

Answered
How to deal with KeyPressFcn recording multiple key presses within a loop?
Hi Lp, Update your Key_Down function as below for a workaround function Key_Down(~,event,leftkey) if strcmp(event.Key,lef...

3 months ago | 0

| accepted

Answered
How do I convert binary strings from a text file to fixpoint numbers?
Hi Dominik, Refer to link for solution to a similar question. Regards, Anmol Dhiman

3 months ago | 0

Answered
Appending new data for every operation in excel
Hi Lokesh, Refer to answer for a similar question. Regads, Anmol Dhiman

3 months ago | 0

Answered
How to see cross validation in trainNetwork?
Hi Krishna, Cross Validation generates indices for training and testing data. The indices genereted for training can be used to...

3 months ago | 0

Answered
How do install Matlab Drive Connector on Linux without a GUI display?
Hi Reimann, Unfortunately there is no workaround - a graphical installation and setup wizard is required. A VNC server is proba...

3 months ago | 0

Answered
How to split a dataset into training/validation images, assuming I have multiple subfolders ?
Hi M J, In my opinion there is no direct way to do so. You can seperate both training and validation manually or programitacal...

3 months ago | 0

| accepted

Answered
Understanding the resolution on calculating the isotopic distribution function 'isotopicdist.m'
Hi XiaoYing, In the above case both w and the ResolutionValue are same. It specifies the approximate resolution of the instrum...

3 months ago | 0

| accepted

Answered
Simulink is not opening in Matlab 2019
Hi Rohit, Follow the steps in this ML Answer. Regards, Anmol Dhiman

3 months ago | 0

Answered
I can't progress 'Build a Map from Lidar Data Using SLAM a' any more.
Hi Taejee, Use the below command to open the example and relavant files. openExample('driving/BuildAMapFromLidarDataUsingSLAME...

3 months ago | 0

| accepted

Answered
Unrecognized function or variable
Hi Sridharan, Follow the link for resolutions. Regards, Anmol Dhiman

3 months ago | 0

Answered
Risk Management tool box. hHistoricalVaRES
Hi Syed, The function hHistoricalVaRES is present in the example Expected Shortfall Estimation and Backtesting. You can try the...

3 months ago | 0

Answered
Live Editor Format Problem
Hi Erin, For Changing the font size of the figure , you can use set(gca,'FontSize', value) after plotting where value is the in...

3 months ago | 0

Answered
How to apply distance transform on labelled matrix
Hi Rizwan, I am assuming the matrix as binary. You can refer to Distance Transform of a Binary Image. Regrds, Anmol Dhiman

3 months ago | 0

Answered
I have a cell array and want to plot each of the cells on a tiled layout.
Hi Khiana, You can use the below code A_new ={}; % Cell array declared as A in your code numColmns = size(A, 2); for i = 1...

3 months ago | 0

| accepted

Answered
Appending a csv file with existing data already in another column
Hi Mahdi, In my opinion, you can read the data first, modify it and then save the data back to the file. Assuming you have csv...

3 months ago | 1

| accepted

Answered
How to join multi bands image and calculate the index in Matlab
Hi Anggi, Follow this example on finding vegetation indices (NDVI) in multispectral image. Regards, Anmol Dhiman

4 months ago | 0

Answered
Importing a two variable function into pdepe
Hi Matthew, You can use interp2 for 2 variables. Regards, Anmol Dhiman

4 months ago | 0

Answered
How to rename S outup of the funtion load ?
Hi Adrein, Please folow the link. Regards, Anmol Dhiman

4 months ago | 0

Answered
How to split a dataset in 3 sets using splitEachLabel using percentage such that each class appears in all 3 sets?
Hi Faisal, The second arguement (0.75) in splitEachLabel is proportion representing proportion of files to split, specified as ...

4 months ago | 0

Answered
How to use C Caller Block?
Hi Elena, C Caller block only supports models with no dynamic states and variables. To include dynamic states and variables in ...

4 months ago | 0

Load more