![photo](/responsive_image/150/150/0/0/0/cache/matlabcentral/profiles/5328422_1522823558134.jpg)
Amit
Self organized
Followers: 0 Following: 0
Professional Interests: Image Processing, simulink, GUI, Control system, Communication tools
Feeds
已回答
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...
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...
4 years 前 | 1
| 已接受
已回答
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';...
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';...
4 years 前 | 0
| 已接受
已回答
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:
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:
4 years 前 | 0
已回答
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...
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...
4 years 前 | 0
| 已接受
已回答
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...
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...
4 years 前 | 0
提问
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...
4 years 前 | 1 个回答 | 0
1
个回答已回答
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...
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...
4 years 前 | 1
已回答
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.
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.
4 years 前 | 0
已回答
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...
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...
4 years 前 | 0
已回答
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...
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...
4 years 前 | 0
已回答
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....
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....
4 years 前 | 0
| 已接受
已回答
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 ...
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 ...
5 years 前 | 0
已回答
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...
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...
5 years 前 | 0
提问
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...
6 years 前 | 0 个回答 | 0
0
个回答已回答
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...
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...
6 years 前 | 0
已回答
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) ...
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) ...
6 years 前 | 0
已回答
merge image using matlab
Yes you can do this as: im1= imread('image1.jpg'); im2= imread('image2.jpg'); im3= imread('image3.jpg'); r = i...
merge image using matlab
Yes you can do this as: im1= imread('image1.jpg'); im2= imread('image2.jpg'); im3= imread('image3.jpg'); r = i...
6 years 前 | 0
| 已接受
提问
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,...
6 years 前 | 1 个回答 | 0