Community Profile

photo

Amit


Self organized

Last seen: 10 månader ago Active since 2015

Followers: 0   Following: 0

Message

Professional Interests: Image Processing, simulink, GUI, Control system, Communication tools

Statistics

All
  • Thankful Level 2
  • Community Group Solver
  • Introduction to MATLAB Master
  • Knowledgeable Level 2
  • Thankful Level 1
  • Revival Level 1
  • First Answer
  • Solver

View badges

Feeds

View by

Answered
How to do this while loop
We can do it in this way : A = [1 2 3]; B = [2 4 5]; LenA = 1; while LenA <= length(A) if(A(LenA)-B)<=1 out = t...

ungefär 4 år ago | 1

| accepted

Answered
Importing Microsoft Excel data to MATLAB as a single variable from multiple spreadsheets that contains various data ranges
Hello Peter, Try the below solution : station = []; SheetName = {'CTD 2014'; 'CTD 2015'; 'CTD 2016'; 'CTD 2017'; 'CTD 2018';...

ungefär 4 år ago | 0

| accepted

Answered
How to change the matrix form?
Not clear what you exacly expect, if some more clarity you can give on the problem, that would be helpful. if it helps:

ungefär 4 år ago | 0

Answered
Use From/Goto Block in different model file
Goto and From blocks have a limited scope of visibility, which cannot cross over one model to another. local (default) — From a...

ungefär 4 år ago | 0

| accepted

Answered
How to set() plot in matlab with cell array
This should work, I think you had missed the transpose of x-array: A = cell2mat(cellArray); set(hPlot3, 'Xdata...

mer än 4 år ago | 0

Question


How to Configure simulink out-ports to generate specific argument of function?
So I want to generate the code for a function where it gives the argument as shown in the image below. So what configuration sho...

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

1

answer

Answered
How to generate s-function block from Autosar SWC ?
The particular subsystem should be configured as AUTOSAR SW component first, and all the IN/OUT ports have to be configured as A...

mer än 4 år ago | 1

Answered
Unable to read strings (I get NaN) in the excel file imported into Matlab
Import the exel data with option cell array output type, not as Numeric matrix.

mer än 4 år ago | 0

Answered
How to calculate (hh:mm:ss + minutes()) and show the all result in GUI table?
Use clock function to display current time on your gui : I hope the below code will help you. for i =1:10 time= clock; if...

mer än 4 år ago | 0

Answered
Display value to gui table
Hi, Arrange the result data in matrix form and set on the table using table handle. If the data is getting calculated in some o...

mer än 4 år ago | 0

Answered
Bring Figure to main GUI and take control over that figure
If you wants to plot your data on GUI, you have to write the code in callback of some button from where you can control the fig....

mer än 4 år ago | 0

| accepted

Answered
Array indexing, matrix indexing
Hi, not sure why you are using the if condition as the statements are same in if and else block.. And use one more loop to get ...

mer än 4 år ago | 0

Answered
AUTOSAR from arxml to model - errors using importerobj
ARXML file generally contains the information of AUTOSAR compliance interfaces and data definintions etc, the inside functionali...

mer än 4 år ago | 0

Question


How to use Model Referencing in Target-link for incremental code generation?
I have developed a model which i want to reference in the main component model, but while generating code i am facing so many is...

nästan 6 år ago | 0 answers | 0

0

answers

Answered
unable to run .m or .slx file from GUI pushbutton callback
GUI callback is basically a function which do not share base workspace. So when you calling your script through callback its va...

nästan 6 år ago | 0

Answered
How to save each iteration of a nested for loop as rows
p =0; for i = 1:size(starttime,1) for j = 1:size(cell,2) ...

nästan 6 år ago | 0

Answered
I am writing a code to read a text file
Use /r/n in your code

ungefär 6 år ago | 0

| accepted

Answered
merge image using matlab
Yes you can do this as: im1= imread('image1.jpg'); im2= imread('image2.jpg'); im3= imread('image3.jpg'); r = i...

ungefär 6 år ago | 0

| accepted

Question


how to swap input interfaces with each other without using switch or if block?
eg. I have four input interfaces H1,H2,H3 & H4. So based on some valid condition i have to swap these signals like this (H4->H1,...

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

1

answer