Chandrasekhar
Followers: 0 Following: 0
Professional Interests: HEV Technology, Model Based Development
統計
All
Feeds
回答済み
hi. i have two guis main and sub . i have stored inputs from all the edit boxes in sub in a variable, var. i need to tranfer var to main gui.and use it for further logic.kindly help.
Hi Alankrita, you can use assignin command to save the variables in base workspace and use evalin command to access them from ...
hi. i have two guis main and sub . i have stored inputs from all the edit boxes in sub in a variable, var. i need to tranfer var to main gui.and use it for further logic.kindly help.
Hi Alankrita, you can use assignin command to save the variables in base workspace and use evalin command to access them from ...
約7年 前 | 0
| 採用済み
回答済み
How can I identify the indices of rows containing all NaNs from matrix?
% idenfity NaN's in the matrix k = isnan(a); % find the indices of NaN's find(k==1);
How can I identify the indices of rows containing all NaNs from matrix?
% idenfity NaN's in the matrix k = isnan(a); % find the indices of NaN's find(k==1);
7年以上 前 | 0
回答済み
How I can define a varying parameter in Simulink Test?
i guess you want to change the gain value while the simulink model is running. you can do that by giving the below command in y...
How I can define a varying parameter in Simulink Test?
i guess you want to change the gain value while the simulink model is running. you can do that by giving the below command in y...
9年弱 前 | 0
質問
open Eclipse ide using activex server command
Hi, I want to open the eclipse ide using matlab script and build the code. please help me how it can be achieved using activex ...
9年以上 前 | 0 件の回答 | 0
0
回答回答済み
interfacing CAM with matlab
Hi, The error says that the mex file for the sfun is not available. how did u build that s-function
interfacing CAM with matlab
Hi, The error says that the mex file for the sfun is not available. how did u build that s-function
9年以上 前 | 0
回答済み
how can I create this function in matlab? I am a new user and I am having a hard time.
function Summantion(x) n=1; Sum = 0; while( n <= 40) term = pow(x,n)/factorial(n); if term <= 0.00001 ...
how can I create this function in matlab? I am a new user and I am having a hard time.
function Summantion(x) n=1; Sum = 0; while( n <= 40) term = pow(x,n)/factorial(n); if term <= 0.00001 ...
9年以上 前 | 0
回答済み
form a row vector
x = [5 6 16 17 27 28 38 39....] n = input('enter the total number of elements'); x = x[1:n]; disp(x);
form a row vector
x = [5 6 16 17 27 28 38 39....] n = input('enter the total number of elements'); x = x[1:n]; disp(x);
9年以上 前 | 0
回答済み
I want to create a for loop which creates different pairs each time.
for i=1:p for j=1:p if (i~=j) disp('i is equal to'); disp(i); disp(...
I want to create a for loop which creates different pairs each time.
for i=1:p for j=1:p if (i~=j) disp('i is equal to'); disp(i); disp(...
9年以上 前 | 0
| 採用済み
回答済み
mapping numbers to another number
use vq = interp1(x,v,xq) where x is the first set of numbers and r is the second set of numbers. x = [1,2,3,4,5,6,...
mapping numbers to another number
use vq = interp1(x,v,xq) where x is the first set of numbers and r is the second set of numbers. x = [1,2,3,4,5,6,...
10年弱 前 | 0
質問
programmatic GUI callback function
I want to access the GUI control from the call back function. how can I do this. I got the below code from Matlab help but it gi...
10年弱 前 | 2 件の回答 | 0
2
回答回答済み
How can i run different timelines in Simuink?
hi. you need to develop a scheduler where in the subsystem2 gets triggered based on subsystem1
How can i run different timelines in Simuink?
hi. you need to develop a scheduler where in the subsystem2 gets triggered based on subsystem1
10年以上 前 | 0
回答済み
Constant Data type in matlab??
follow the link <http://www.mathworks.com/matlabcentral/answers/98309-is-it-possible-to-create-constant-variables-in-matlab Is i...
Constant Data type in matlab??
follow the link <http://www.mathworks.com/matlabcentral/answers/98309-is-it-possible-to-create-constant-variables-in-matlab Is i...
10年以上 前 | 1
| 採用済み
回答済み
how can i make an infinitely simulating model in simulink?
enter the stop time of the simulink model as 'inf' and run the model. This will execute the model in an infinte loop
how can i make an infinitely simulating model in simulink?
enter the stop time of the simulink model as 'inf' and run the model. This will execute the model in an infinte loop
10年以上 前 | 3
| 採用済み
回答済み
Help me to solve a problem please.
cnt = 1; for i = -pi:pi x(cnt) = i; f(cnt) = exp(-i); cnt = cnt+1; end plot(x,f) xlabel('pi v...
Help me to solve a problem please.
cnt = 1; for i = -pi:pi x(cnt) = i; f(cnt) = exp(-i); cnt = cnt+1; end plot(x,f) xlabel('pi v...
10年以上 前 | 0
回答済み
Function does not calculate desired variable.
In the function that you have written EV, N ,t,s are in separate if -else if conditions and only on of them executes at a time...
Function does not calculate desired variable.
In the function that you have written EV, N ,t,s are in separate if -else if conditions and only on of them executes at a time...
10年以上 前 | 0
回答済み
Simulink Code Generation for mathematical funktions
Hi Onur, please find the attached model. i have modeled your requirement. generate the code for this model. check out the 'Ma...
Simulink Code Generation for mathematical funktions
Hi Onur, please find the attached model. i have modeled your requirement. generate the code for this model. check out the 'Ma...
10年以上 前 | 0
回答済み
How to find error in function file
yes you can run the function file separately. enter the name of the function in the command prompt and press enter. you ne...
How to find error in function file
yes you can run the function file separately. enter the name of the function in the command prompt and press enter. you ne...
10年以上 前 | 0
回答済み
How do I run MATLAB in batch mode?
<http://www.mathworks.in/matlabcentral/answers/41558-how-to-run-matlab-files-in-batch-mode-or-as-a-batch-process-guide-request H...
How do I run MATLAB in batch mode?
<http://www.mathworks.in/matlabcentral/answers/41558-how-to-run-matlab-files-in-batch-mode-or-as-a-batch-process-guide-request H...
10年以上 前 | 0
回答済み
How to determine the number of inputs of block simulink from the command line?
click on the Simulink block/Subsystem for which you have to find the inputs and then use the following commands a = get_pa...
How to determine the number of inputs of block simulink from the command line?
click on the Simulink block/Subsystem for which you have to find the inputs and then use the following commands a = get_pa...
10年以上 前 | 2
| 採用済み
回答済み
how can i solve [parse error at 'clear': usage might be invalid matlab syntax]
remove the end and clears statement and use it
how can i solve [parse error at 'clear': usage might be invalid matlab syntax]
remove the end and clears statement and use it
10年以上 前 | 0
回答済み
Basic Question on Imported Data Size
reshape(A,1,15000) where A(3x5000) is the imported data
Basic Question on Imported Data Size
reshape(A,1,15000) where A(3x5000) is the imported data
10年以上 前 | 0
回答済み
how to use result of one function for another function??
mainscript.m c=2; d=3; [ x1, x2] = result( c, d ) [ y ] = heatsource( x1, x2 ) result.m function [ x1, ...
how to use result of one function for another function??
mainscript.m c=2; d=3; [ x1, x2] = result( c, d ) [ y ] = heatsource( x1, x2 ) result.m function [ x1, ...
10年以上 前 | 0
| 採用済み
回答済み
Matrix formation by applying some operation using loop logic.
A = [7 7 7 1 0;6 0 0 0 0; 0 6 0 4 0;0 0 0 4 2;0 0 6 0 2]; for i = 1:5 for j = 1:5 if i == j ...
Matrix formation by applying some operation using loop logic.
A = [7 7 7 1 0;6 0 0 0 0; 0 6 0 4 0;0 0 0 4 2;0 0 6 0 2]; for i = 1:5 for j = 1:5 if i == j ...
10年以上 前 | 1
| 採用済み
回答済み
How to execute .m file by pressing Push button in the created GUI?
write only the file name instead of run(tikhnovphh1). function pushbutton2_Callback(hObject, eventdata, handles) % ...
How to execute .m file by pressing Push button in the created GUI?
write only the file name instead of run(tikhnovphh1). function pushbutton2_Callback(hObject, eventdata, handles) % ...
10年以上 前 | 2
| 採用済み
回答済み
How do I open a file by pressing a pushbutton in GUIDE?
use the following command in the call back function of the push button winopen('mydoc.doc') winopen('myimage.jpg') winope...
How do I open a file by pressing a pushbutton in GUIDE?
use the following command in the call back function of the push button winopen('mydoc.doc') winopen('myimage.jpg') winope...
10年以上 前 | 4
| 採用済み
回答済み
How can I split an array of float point numbers in two different arrays based on a dot (.) delimiter?
numbers can be converted into strings using 'num2str' command and they can be splitted using 'strtok' command
How can I split an array of float point numbers in two different arrays based on a dot (.) delimiter?
numbers can be converted into strings using 'num2str' command and they can be splitted using 'strtok' command
10年以上 前 | 0
回答済み
How do I make a master script that can call other scripts?
master_script.m function1(); function2(); function3(); end of master_script.m function1(); %implements the ...
How do I make a master script that can call other scripts?
master_script.m function1(); function2(); function3(); end of master_script.m function1(); %implements the ...
10年以上 前 | 0
回答済み
add result to next entry of the column
if a is your initial array then sum = 25; for i = 1:length(a) sum = sum+a(i); end
add result to next entry of the column
if a is your initial array then sum = 25; for i = 1:length(a) sum = sum+a(i); end
10年以上 前 | 0
| 採用済み