# Ankit

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

RANK**319**

of 290 832

REPUTATION**250**

CONTRIBUTIONS

**5** Questions

**81** Answers

ANSWER ACCEPTANCE **
40.0%
**

VOTES RECEIVED**39**

RANK**5 818** of 19 715

REPUTATION**198**

AVERAGE RATING**4.80**

CONTRIBUTIONS**2** Files

DOWNLOADS **14**

ALL TIME DOWNLOADS**1724**

CONTRIBUTIONS**0 Posts**

CONTRIBUTIONS**0** Public Channels

AVERAGE RATING

CONTRIBUTIONS**0** Highlights

AVERAGE NO. OF LIKES

**Feeds**

Question

Running main model with fixed step solver and subsystem with variable step solver

My aim is to integrate a Simulink protected model which runs on variable step solver with our vehicle plant model which runs on ...

20 dagar ago | 2 answers | 0

### 2

answersQuestion

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

ungefär ett år ago | 1 answer | 0

### 1

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

mer än ett år 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...

mer än ett år ago | 1 answer | 0

### 1

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

mer än ett år ago | 0

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

mer än ett år ago | 0

| accepted

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

mer än ett år ago | 0

| accepted

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

mer än ett år ago | 0

| accepted

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

mer än ett år ago | 0

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

mer än ett år ago | 0

| accepted

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

mer än ett år ago | 0

| accepted

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

mer än ett år 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...

mer än ett år ago

MATLAB app designer button

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

mer än ett år ago | 2

| accepted

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

mer än ett år ago | 1

| accepted

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

mer än ett år ago | 0

How can i calculate the length of curve?

X=[96.0741000000000,97.1940000000000,98.3139000000000,99.4338000000000,100.553700000000,101.673600000000,102.793500000000,103....

mer än ett år ago | 1

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

ungefär 2 år ago | 1

| accepted

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

ungefär 2 år ago | 1

| accepted

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

mer än 2 år ago | 1

| accepted

matrix variable problem in matlab

read more about repmat A = [1 2]'; A = repmat(A,6,1);

mer än 2 år ago | 0

| accepted

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

mer än 2 år ago | 0

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

mer än 2 år ago | 1

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

mer än 2 år ago | 0

| accepted

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

mer än 2 år ago | 0

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

mer än 2 år ago | 0

| accepted

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

mer än 2 år ago | 0

| accepted

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);

mer än 2 år ago | 0

| accepted

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

mer än 2 år ago | 1

| accepted

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

mer än 2 år ago | 0