Answered
How to apply fprinf for matrix
%example code s = rand(10,3); fileID = fopen('a.txt','w'); for i=1:length(s) fprintf(fileID,'%g\t%g\t%g ...

8 years ago | 2

Answered
how to distribute a matrix?
<http://in.mathworks.com/help/stats/gamma-distribution.html Gamma Distribution> gamrnd(10,5,100,1)

8 years ago | 0

| accepted

Answered
Output to file not working correctly
fprintf(fid,'%g\t',feat(1,ii),feat(2,ii),sc,th(ii)); %replaced by fprintf(fid,'%g\t%g\t%g\t%g\t',feat(1,ii),feat(2,ii),sc,t...

8 years ago | 0

Answered
ask about controller system
* for example consider a cooling system. * The cooling system takes temperature as input(i.e. x=temperature) * The output of t...

8 years ago | 0

| accepted

Answered
Select base station in wsn
If you have 10 nodes then possibly you will have 10 energy values associated with the nodes.So get the index of maximum value.Th...

8 years ago | 0

| accepted

Answered
Apply the image processing technique that can divided it to two equal areas.
[r c] = size(i1);% i1 is the input image i1(:,round(c/2):round(c/2)+1)=0; imshow(i1)

8 years ago | 0

Answered
Convert Excel date to use in MATLAB
<http://in.mathworks.com/help/matlab/ref/datenum.html datenum Convert date text format into numeric value>

8 years ago | 0

Answered
which toolbox do I need
For interfacing USB devices you need <http://in.mathworks.com/products/instrument/supported/usb.html Instrument Control Toolbox>...

8 years ago | 1

Answered
Particle Swarm - Additional Arguments
You cannot add additional arguments to matlab predefined functions. <http://in.mathworks.com/help/gads/particleswarm.html click ...

8 years ago | 0

Answered
Problem adding components of a vector using a while loop
replace b = b+k(x) into b = b+x(k)

8 years ago | 0

Answered
how to change default radiobutton ?
*Example code* function my handles.FigureH = figure; handles.radio(1) = uicontrol('Style', 'radiobutton', ... ...

8 years ago | 0

Answered
How to save outputs of a function to different matrixs
The function 'xyz' returns the vector 'F' which has three elements.So follow the below steps F =fsolve('fxyz',[-1,1,-1]); ...

8 years ago | 0

| accepted

Answered
How to read .dat files in matlab?
<http://in.mathworks.com/matlabcentral/answers/64787-how-to-load-dat-or-even-txt-files-into-matlab-workspace load .dat (or even ...

8 years ago | 0

Answered
if i have matrix and i want to do this ?
clear all clc Matrix_row = [2 4 2 0 0 3 6 0 0 0 ...

8 years ago | 0

| accepted

Answered
Following function works as .m file but does not produce any output as function file
The input parameters highly influence the output.So try with different input values .then you can understand the exact issue.

8 years ago | 0

Answered
how to obtain a bandpass filter from a low pass filter and a high pass filter?
<http://www.allaboutcircuits.com/textbook/alternating-current/chpt-8/band-pass-filters/ band pass filter reference>

8 years ago | 0

Answered
How can I input a video in simulink for processing???
<http://in.mathworks.com/help/vision/ref/frommultimediafile.html From Multimedia File block used to import video signal and> <ht...

8 years ago | 0

Answered
How can i upload financial time series from an excel file?
<http://in.mathworks.com/help/matlab/import_export/ways-to-import-spreadsheets.html Ways to Import Spreadsheets>

8 years ago | 0

Answered
transfer data from Matlab to Excel
Its not necessary to specify the end cell no.Only starting cell number is enough. test_data=xlswrite(file_name_data,results...

8 years ago | 0

| accepted

Answered
How to use variables in a matrix?
Replace line no 11 to A = double(subs(A,h,1))

8 years ago | 0

Answered
importing and calculation from excel to matlab
you cannot use the column title directly.You have to use the index something like "Rawdata(16:end,3)".Which states that in Rawda...

8 years ago | 0

| accepted

Answered
implement back button in matlab
<http://in.mathworks.com/matlabcentral/answers/146215-pass-data-between-gui-s Pass Data between Gui`s>

8 years ago | 0

Answered
How to use num2cell?
third column data is already in cell.So simply use the below c = production(:,3)

8 years ago | 0

Answered
Is it possible to detect face using vision.CascadeObjectDetector with round annotation? I am quite new in matlab could you show example?
<http://www.bogotobogo.com/Matlab/Matlab_Tutorial_Video_Processing_2_Face_Detection_CamShift_Tracking.php Face detection example...

8 years ago | 0

Answered
How can I create a protected model with a mask ?
<http://in.mathworks.com/help/simulink/examples/protected-models-for-model-reference.html create and use a protected model :-->r...

8 years ago | 0

Answered
How to perform this matrix manupulation.?
a = 1:20; n = 7; A = zeros(n,length(a)); n1 = 3 for it =1:n A(it,:)= circshift(a',n1) n1=n1-1; end

8 years ago | 0

Answered
Using a GUI with Matlab
Define 'a' as global variable . <http://in.mathworks.com/matlabcentral/answers/88518-create-a-global-variable-in-a-gui (Create a...

8 years ago | 0

| accepted

Answered
How to pass the variables from matlab workspace to python function, and run this python function in matlab
<http://algoholic.eu/matpy/ MATLAB extension for accessing Python>

8 years ago | 0

Answered
How to get 1% of the image?
A = imread('ngc6543a.jpg'); n =size(A,2) Im_1per = A(:,1:round(n*0.01))%here 0.01 states that 1 % and it can be varied f...

8 years ago | 0

| accepted

Answered
How to get data from MySQL database in matlab GUI
<http://in.mathworks.com/help/database/ug/importing-data-from-databases-into-matlab.html establish the connection and Import Dat...

8 years ago | 0

Load more