Community Profile

photo

Anmol Dhiman


Last seen: Today

MathWorks

176 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

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

View details...

Contributions in
View by

Answered
Peter Corke Robotics Toolbox Plot Multiple Robot Arms
Hi Weilin, I assume you already have a robot. In that case you can use loadrobot. Here is an example code for you >> kin = l...

4 days ago | 0

Answered
Question about writing if statement on function nlcon()
Hi Hyunmin, In my opinion the problem with the above if conditions is the fact that you are using OR(||) instead of AND(&&) in ...

9 days ago | 0

Answered
Matlab help not loading on Matlab R2019b
Hi Saulius, Please refer to solution present for similar question. Regards, Anmol Dhiman

14 days ago | 0

Answered
RNG to pull scripts
Hi Rolland, Just pass the file name as character vector as shown below. run('Riddle_1'); Hope it helps Anmol Dhiman

1 month ago | 0

Answered
Map display with data
Hi Justin, I guess geoshow will help you in this regard. Follow a similar question. Hope it helps Anmol Dhiman

1 month ago | 0

Answered
Combine multiple datastores in for loop for Leave one out cross validation
Hi Mudit, Use the following code for looping in the cell array for i =1:N test = Big_ImgDs{i}; train = Big_ImgDs; ...

1 month ago | 0

Answered
How can I modify an XML file and create a new XML file ?
Hi Jules, As mentioned in this Answer , use xmlread and xmlwrite to modify. Regards, Anmol Dhiman

1 month ago | 0

Answered
Extract data from one array to another based on a string matching in Column 1
Hi Allan, It will be better if you convert your data into table with help of below command T = struct2table(s); % convert the ...

1 month ago | 0

Answered
Find and assign values in matrix
Hi Simon, Assuming your result stored in output (variable). follow the below code areaIndex = output(:,4)/3; finalOutput = ze...

1 month ago | 0

Answered
Having issues appending text to the header on a DOCX Report
Hi Felix, Holes in a header can be accessed from the current DOCX section. You can use the following to access the first sectio...

1 month ago | 0

Answered
Can not load .bil file(Landsat image)?.
Hi Reshad, Refer to simlar question. Regards, Anmol Dhiman

1 month ago | 1

| accepted

Answered
how to save file in specific path?
Hi Somnath, Refer to movefile to move a file from one location to another. Regards, Anmol Dhiman

1 month ago | 0

| accepted

Answered
Warning: Reached the maximum number of function evaluations (10000). The result passes the global error test.
Hi BalPartap, Refer to similar question. Regards, Anmol Dhiman

1 month ago | 0

Answered
can't install NI-DAQmx toolbox on MATLAB 2020b
Hi LO, Refer to a similar question asked. Regards, Anmol Dhiman

1 month ago | 0

| accepted

Answered
how saved all Images as Vector in Excel file?
Hi Furat, As suggested in the xlswrite, use writematrix to save the images in excel sheet. Create the matrix for all 128 images...

2 months ago | 1

Answered
How to make ball move in simulink
Hi Juraj, I think animations in simulink is what you are looking for. Regards, Anmol Dhiman

2 months ago | 0

| accepted

Answered
Correct data format to write to a spesific destination via API
Hi Iiro Koskialho, I assume the problem is with sending the data over udp. These are my suggestions 1) Use udpport instead o...

2 months ago | 0

Answered
How to generate a standalone application, which uses python functions?
Hi David, Refer to the below link Unable to resolve the name. Also there is a similar answer. Regards, Anmol Dhiman

2 months ago | 0

Answered
VALID_DATE FUNCTION PROBLEM : Write a function called valid_date that takes three positive integer scalar inputs year, month, day. If these three represent a valid date, return a logical true, otherwise false...
Hi Emirhan , You need to initialize valid in the function. Add the following statement after creating function function [vali...

2 months ago | 1

Answered
Matlab 2020a/b fft function memory leak
Hi Felix, This memory leak is in fact a bug which originated in R2020a and has no current workaround. Only a very tiny amount ...

2 months ago | 0

Answered
I need help uninstalling R2016b on Windows 10.
Hi Blake, Refer to the below page. Unistall MathWorks Products. Regards, Anmol Dhiman

3 months ago | 0

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

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

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

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

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

4 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

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

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

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

5 months ago | 0

Load more