Community Profile

photo

Ankit


Last seen: 6 days ago Active since 2019

Development Engineer, AUDI AG | MATLAB user since 2010 | ~10 years Experience in Automotive Industry | M.Sc Computational Engineering, Ruhr Universität Bochum | B.Tech Mechanical Engineering, Indian Institute of Technology, Roorkee

Spoken Languages:
English

Statistics

All
  • Solver
  • MATLAB Central Treasure Hunt Finisher
  • Thankful Level 1
  • Knowledgeable Level 4
  • 5-Star Galaxy Level 2
  • Personal Best Downloads Level 2
  • 6 Month Streak
  • GitHub Submissions Level 1
  • First Submission
  • First Review
  • First Answer

View badges

Content Feed

View by

Question


Running Simulation in MATLAB 2018b with different sample time
I have a *.fmu which runs at a time step of 0.1s and my overall model is running at a time step of 1ms. I have one working solut...

1 year ago | 1 answer | 0

1

answer

Answered
Undefined function 'publish' for input arguments of type 'struct' [MATLAB APP Standalone]
I found out in the following link .exe aus MATLAB code, "publish" function nicht erk - Mein MATLAB Forum - goMatlab.de that MAT...

1 year ago | 0

| accepted

Question


Undefined function 'publish' for input arguments of type 'struct' [MATLAB APP Standalone]
I am facing the below mentioned error when I am using Standalone application created for MATLAB App. It works fine when I run my...

1 year ago | 1 answer | 0

1

answer

Answered
extracting file from desktop to current folder
Read more about movefile in the following link: Move or rename file or folder - MATLAB movefile - MathWorks Deutschland source ...

1 year ago | 0

Answered
Don't show "NaN" in uitable ,if there not value in a table cell.
Below method will remove NaN with a variable as ' '. But for this you need to convert your array it into cell array first A = [...

1 year ago | 0

| accepted

Answered
write a struct to a ui table
You can follow following steps: S.Name = ["Chang";"Brown";"Ruiz"]; S.Smoker = ["Y";"N";"Y"]; S.SystolicBP = [124;122;130]; S...

1 year ago | 0

| accepted

Answered
why is my plot not showing lines
Edited on 12.09.2022 Problem in your script is that you are not storing your results, values are updated in your "for loop" %...

1 year ago | 0

| accepted

Answered
Simulating a modell with x-values each second
Refer to sim Help Page for more info about different way and properties you can set (write help sim in your MATLAB command windo...

1 year ago | 0

Answered
how to delet ui callback function in appdesigner when the UI be deleted
In order to delete Callbacks for a deleted UI. You need to navigate to Code view from Design view. Right click the callback an...

1 year ago | 0

| accepted

Answered
How to detect a value changing in matlab app - numeric edit field
@Tom: I have created one simple example for you. In this example when the EditField values are changed I am doing different ope...

1 year ago | 0

| accepted

Answered
How to stop (an infinite loop) / the execution of my matlab code via app designer?
@Matlab_Beginner Please find solution to your problem, I have attached *.mlapp file too MATLAB app designer button - MATLAB Ans...

1 year ago | 0

| accepted

Solved


Pizza!
Given a circular pizza with radius z and thickness a, return the pizza's volume. [ z is first input argument.] Non-scored bonus...

1 year ago

Answered
MATLAB app designer button
Please find attached *.zip file where you can see one example (refer below code) properties (Access = public) stop_si...

1 year ago | 2

| accepted

Answered
How can I set the folder from which the MatLab App-desinger function starts as the default workspace?
you can set paths to specific folders under properties... properties (Access = public) topLevelFolder = pwd; % Get a list of...

1 year ago | 1

| accepted

Answered
How insert a DropDownValue to Table in AppDesinger
can you let me know your output (app.DropDown.Value is a char or string). you need to convert to desired data type. You can't se...

1 year ago | 0

Answered
How can i calculate the length of curve?
X=[96.0741000000000,97.1940000000000,98.3139000000000,99.4338000000000,100.553700000000,101.673600000000,102.793500000000,103....

1 year ago | 1

Answered
How to make the y-axis closer from each other when using addaxis ?
You can change the value of variable "axcompleft" according to your requirement in addaxis.m file (code line: 95) . Default val...

2 years ago | 1

| accepted

Answered
extract data from figure
*.fig file are basically *.mat files. You can try following in order to extract data from *.mat files plot(rand(100,1)); % crea...

2 years ago | 1

| accepted

Answered
Save histogram graphs during for loop operation
n = 1; for i = 8:8:192 Data = rand(100,192); BB = Data (:,n:i); n = i; f=figure; histogram(BB); sa...

2 years ago | 1

| accepted

Answered
matrix variable problem in matlab
read more about repmat A = [1 2]'; A = repmat(A,6,1);

2 years ago | 0

| accepted

Answered
Delete Cells in Cell array in two loops....
You can use cellfun: Apply a function to each cell of a cell array 'isempty' -- true for cells containing an empty array, fa...

2 years ago | 0

Answered
How to move title text to front of plot area
plot(rand(1,50)); t = title('this is my title', 'Units', 'normalized', 'Position', [0.5, 0.75, 0]); t.Color = 'r'; t.FontSize...

2 years ago | 1

Answered
How to deal with Index exceeds the number of array elements ?
load 'signal' start_location = [147,222,302,379,458,538,620,698,777]; start_value = [-81.905,-87.408,-86.262,-...

2 years ago | 0

| accepted

Answered
How to import text present in figure to excel?
There is one way to write the output to *.xlsx-File. speed= 55; time= 35; filename = 'Test.xlsx'; str = sprintf(['speed = %...

2 years ago | 0

Answered
How to remove connecting lines in the line plot for large dataset?
You can use unique to resolve this problem. unique(A) for the array A returns the same values as in A but with no repetitions. ...

2 years ago | 0

| accepted

Answered
Multiple plotting issue?
Few recommendations to your code: try to define all the variable before loop don't use clear all in your code. Calling clear a...

2 years ago | 0

| accepted

Answered
trying to solve an ode using ode45
you forgot to put bracket F = @(t,y)(y/(t+1) + 5*((t+1)/(1+25*t^2))); [t,y] = ode45 (F,[0 1],1); plot(t,y);

2 years ago | 0

| accepted

Answered
Add XTickLabels names from cells array
@Stefano Cucchi I hope this is what you are looking for? n_canali = 5; n_try = 2; nome_canali = {'ai0' 'ai1' 'ai3' 'ai4' 'ai7...

2 years ago | 1

| accepted

Answered
How do I change the text output in Live Scripts?
@Rodney Smith Please try following links to change the font, font size and font style. Colorizing text output » MATLAB Communit...

2 years ago | 0

Answered
plot time in HH:MM ix x axis
You need to change the format using datetick. date={'15:10:34.600 AM 2/26/2017','15:20:34.700 AM 2/26/2017','15:30:34.800 AM 2/...

2 years ago | 0

| accepted

Load more