Community Profile

photo

Ankit


Last seen: 16 giorni fa Attivo dal 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

Statistiche

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

Visualizza badge

Content Feed

Visto da

Domanda


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

circa un anno fa | 1 risposta | 0

1

risposta

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

oltre un anno fa | 0

| accettato

Domanda


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

oltre un anno fa | 1 risposta | 0

1

risposta

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

oltre un anno fa | 0

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

oltre un anno fa | 0

| accettato

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

oltre un anno fa | 0

| accettato

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

oltre un anno fa | 0

| accettato

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

oltre un anno fa | 0

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

oltre un anno fa | 0

| accettato

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

oltre un anno fa | 0

| accettato

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

oltre un anno fa | 0

| accettato

Risolto


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

oltre un anno fa

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

oltre un anno fa | 2

| accettato

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

oltre un anno fa | 1

| accettato

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

oltre un anno fa | 0

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

oltre un anno fa | 1

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

circa 2 anni fa | 1

| accettato

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

circa 2 anni fa | 1

| accettato

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

circa 2 anni fa | 1

| accettato

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

circa 2 anni fa | 0

| accettato

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

circa 2 anni fa | 0

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

circa 2 anni fa | 1

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

circa 2 anni fa | 0

| accettato

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

circa 2 anni fa | 0

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

circa 2 anni fa | 0

| accettato

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

circa 2 anni fa | 0

| accettato

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

circa 2 anni fa | 0

| accettato

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

circa 2 anni fa | 1

| accettato

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

circa 2 anni fa | 0

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

circa 2 anni fa | 0

| accettato

Carica altro