Answered
Can I install an add-on package while offline?
Of course there is a reason of the failing of your proxy settings. But you can solve this with your network admin only. Add-o...

9 years ago | 0

Answered
I want to copy some data
N = 4; M = [2,3,4;6,2,3;9,8,3]; index = repmat(1:size(M,1), N, 1); Result = M(index, :); Or: kron(M, ones(...

9 years ago | 0

Answered
Developing GUI in MATLAB is suitable for real time application?
Of course Matlab gets slow during the execution if it has a lot do to. This may be the nature of the problem, e.g. if huge data ...

9 years ago | 1

Answered
Need to save values of a variable into a new column of asc file for each iteration of a for loop
Start with collecting the data: muDIS1 = zeros(length(Ndisvec), ????) % Set accordingly for z = 1:length(Ndisvec) ...

9 years ago | 1

| accepted

Answered
Export column name along with data in excel file in GUI
M = get(handles.Results_table, 'Data'); Head = get(handles.Results_table, 'ColumnName'); Data = cat(1, Head, num2cell...

9 years ago | 0

| accepted

Answered
not enough input arguments.
which -all line on command window of Matlab, following line was appeared: /Users/janithathalagoda/Documents/MATLAB/line. bu...

9 years ago | 0

| accepted

Answered
MATLAB precise time reference for time allignment
Whilc clock has a precision of 1ms, the <https://www.mathworks.com/matlabcentral/fileexchange/16534-high-accuracy-timer FEX: Hig...

9 years ago | 0

Answered
combine two double cells into 1
If you are in doubt, start with a loop: C1 = {[1 2 3 4], [1 2]}; C2 = {[5 2 3 7], [4 5]}; C = cell(size(C1)); fo...

9 years ago | 2

Answered
Issue with getframe and getimage commands while saving the image (image size mismatch).
The problem is neither |getframe| not |getimage|, but |rectangle|: This function displays the rectangles on top of the image, bu...

9 years ago | 0

| accepted

Answered
Why can 'e' not be positive in levinson function?
Finding the technical support is easy. Do you see the "Contact Us" link on the top right of this page? What are your inputs? ...

9 years ago | 0

Answered
Is there any other way than try & catch to handle error in matlab?
You cannot predict reliably, if the function fails or not without running it. Such a test is impossible even in theory (search f...

9 years ago | 0

Answered
index exceeds matrix dimension
E.g. ISUPPLY is a [1 x 100] vector: ISUPPLY = 1:100; (See <https://www.mathworks.com/matlabcentral/answers/35676-why-not...

9 years ago | 0

Answered
GUIDATA updating "handles" in GUIDE with nested functions
This is a confusing mixture of storing the |handles| struct in two figures by |guidata|, using |handles| from the inputs of the ...

9 years ago | 1

| accepted

Answered
How do I solve this index out of bounds error?
See <http://www.mathworks.com/matlabcentral/answers/59582#answer_72047>: Matlab's integrators with step size control cannot hand...

9 years ago | 0

Answered
How to display polar form in GUI edit text?
a = 4 - 2i; s = sprintf('(%g %g)', abs(a), angle(a) * 180 / pi); set(handles.edit_polar, 'string', s);

9 years ago | 1

| accepted

Answered
Is there any way to change the appearance of the output excel file as shown in the picture(only some is visible of heading as in Capture2.jpg wanted as Capture1.jpg)?? and can the heading be highlighted by any means in excel sheet ??
This is a problem of the display in Excel, not a Matlab problem. What about: Ctrl-A and double click on one of the line margi...

9 years ago | 2

| accepted

Answered
how to filter EEG excel data(2562*11) using matlab.
data = rand(2562, 11); [b, a] = butter(8, 0.4); data(:, 3) = filter(b, a, data(:, 3)); data(:, 6:8) =...

9 years ago | 0

Answered
Why mex is creating error?
See the same questions: <https://www.mathworks.com/matlabcentral/answers/126500-c-progra-1-matlab-r2012a-bin-mex-pl-error-resize...

9 years ago | 0

Answered
Compare arrays to find common non zero indexes
A=[14, 1, 0,15; 1, 2, 4, 0; 3, 0, 0, 0; 14, 5, 0, 0; 0,12, 4, 0]; x = {[2,3,4,5]; [1,3,4,5]; [1,...

9 years ago | 0

| accepted

Answered
How to solve "out of memory error" caused by bsxfun?
A 10000 by 500 array of type |double| requires 40MB only. If your computer does not have enough memory to allocate such a small ...

9 years ago | 2

Answered
Compare matrices built with repelem and repmat
The transformation c = repmat(a, [1,1,A,A]); d = c(:,1,:,:); is an indirection to reproduce |b|. Z = 2; W = ...

9 years ago | 0

| accepted

Answered
Merging two dissimilar matrix based on common row element
Or with simple loops: C = B; kC = 1; nC = size(C, 1); for iA = 1:size(A, 1) a = A(iA, 1); for iC = kC...

9 years ago | 0

Answered
how i creat a code abaout fft without using fft comand
What exactly is the problem? What have you tried so far? for n = 1:N X_k = sum(x(n) * exp(-2j * pi * (k-1) * (n-1)/N);...

9 years ago | 1

| accepted

Answered
Apple Banana Mango Orange
Start at defining exactly, what input you have. A = [Apple Bannana Apple Mango Orange Apple Mango] This is no valid Mat...

9 years ago | 0

| accepted

Answered
how to vectorize these "for loop"?
The loops are not the main problem here, but the missing pre-allocation. n = 19^3; num = zeros(n, 2); % <-- Inserted...

9 years ago | 1

Answered
C:\PROGRA~1\MATLAB\R2012A\BIN\MEX.PL: Error: 'resize.cc' not found.
Either provide the full path name: mex -O D:\MFiles\YouSubFolder\resize.cc or set the current folder accordingly: cd...

9 years ago | 0

Answered
Undefined function 'ismissing' for input arguments of type 'double'.
The function |ismissing| was introduced in 2013b. See <https://www.mathworks.com/help/matlab/ref/ismissing.html>, at the bottom....

9 years ago | 0

| accepted

Answered
How we can combine two different series and add them
If you provide the input data and show what you have tried so far, posting an answer would require less guessing. I guess that |...

9 years ago | 0

Answered
Storing only selected data into table using a pushbutton and a checkbutton in GUI
With some guessing: Head = {'A', 'B'}; Data = [num2cell(AA), num2cell(BB)]; Include = ([get(handles.A, 'Value')...

9 years ago | 0

| accepted

Answered
How do I render a 3D model from a set of DICOM images?
There are some solutions in the FileExchange: <www.mathworks.com/matlabcentral/fileexchange/?utf8=✓&term=3D+dicom> Note th...

9 years ago | 0

Load more