I have a cell array with strings and a numeric array in Matlab. I want every entry of the cell array to be concatenated with the number from the corresponding position of the array. I think that it …
I wish to use this function whose documentation can be found here. However, there seems to be no such function in my MATLAB.
>> help gfprimfd
gfprimfd not found.
Use the Help browser search …
I'm quite new to Matlab and this is my code for Within cluster dissimilarity in a given dataset.
This code is really inefficient and my computer almost crashed for running this on 30x4 dataset.
I have two binary files that I'm trying to compare using Matlab's built-in function visdiff, but it only displays the first 2000 bytes as a default. Is there any way to force the comparison tool to …
In my Neural Network I have combined all of the weight matrices into one large matrix:
e.g A 3 layer matrix usually has 3 weight matrices W1, W2, W3, one for each layer. I have created one large ...
I would like to visualize different responses of different systems in a single plot with Matlab's control toolbox, and to colorize the various curves so it is easy to differentiate between the ...
I have a MATLAB function that needs access to the data of some largeFile.mat. If (to avoid polluting the global namespace) I put the load command within the function, will MATLAB reload largeFile ...
I have a XML file like this:
I am trying to adjust the heights of a boxplot. Simple example:
boxplot(1:10,[zeros(1,5) ones(1,5)], 'colorgroup', [0 1], 'colors', 'rb', 'orientation', 'horizontal')
h = findobj(gcf, 'tag', ...
I am trying to use the NonLinearModel.fit() function in Matlab to regress two variables. However, I am getting the following error:
Error using internal.stats.getscheffeparam>ValidateParameters
my question relates to the content of the predict label vector obtained from the svmpredict function of libsvm. As I do not have the actual values of the last 12 observations of my label variable, I …
i want to find out the eigan faces of the face images.for same i already
proceeded with the following steps i obtained the mean of all the images but now i am
stucked here ,how to get the coverience …
I'm using Matlab 2013a and the fopen(serial) command takes a long time to execute. It used to run smoothly when I had installed it but now, it seems opening ports is getting slower.
I have three USB microphones plugged up to my Macbook Air via a USB hub. In the Audio MIDI I aggregated the devices and selected the aggregate device as the input for the computer. However, ...
I am writing a matlab function as :
function [resultNorm]= explorEffort (n, loop, step)
but it seems that the matlab compiler doesn't let me use a structure …
I need to write a function to roll a 4-sided die N times and return the number of 4's rolled. I want to use randperm and a for lop in my Matlab function. So far i have:
function [value2] = rollDie( …
I have to calculate Newey-West standard errors for large multiple regression models.
The final step of this calculation is to obtain
nwse = sqrt(diag(N.*inv(X'*X)*Q*inv(X'*X)));
This file exchange …
I was working on some questions and solutions, and encountered the following question. I am able to prove the inequality using the given information and some algebraic manipulation but the "within ...
I'm looking for an advanced environment for image processing simulation targeting a hardware implementation (FPGA or ASIC).
Let me describe my current setup:
I have developed a floating point ...
I am working on my final year project and I really need some help here.
My part is Face Recognition where I am using ICA algorithm to recognize the faces.
I am able to mark the features(Eyes and ...
I want to mark trees present in an image. I tried many color-based segmentation methods like RGB Vector space & HSI Color Space, L*a*b* color space, Watershed segmentation,NDVI methods, but most …
Would anyone know why I obtain numbers outside the normal data from which I am sampling when I use the Latin Hypercube method in the code below. With the Main Code, I am plotting the Normal ...
I am limited in the use of cycles in matlab and I have one task. I have the matrix 2xn with numbers and cell array 1xn. Each element in the first row point to a position of the array. I want to add …
I have applied gaussmix function in voicebox MATLAB tools to calculate GMM. However, the code gives me error when I run it for 512 GMM components.
No_of_Clusters = 512;
No_of_Iterations = 10;
In matlab one of my variable produce a sort of number as follows:
Columns 1 through 4
0.000002188044002 0.000011853757224 0.000043123777130 0.000134856642090
Columns 5 through …
I am working currently on a project to optimize heater performance using MATLAB neural network tool, I read the manuals and got the guidance from MATLAB manual.
I have configured the network and ...
How can I plot the Fourier transformation of a wav sound without using FFT?
I take rectangle windows with size 256 on the whole signal.
Following is my code, but I get this error:
??? Error ...
I am new to Matlab. Is there any sample code for classifying some data (with 41 features) with a SVM and then visualize the result? I want to classify a data set (which has five classes) using the SVM …
I am plotting a depth image (RGBD) as a scatter graph, using scatter3(x,y,z) in matlab.
How can I set a colormap on the scatter3 plot where the color is dependent on the z-value?
I'm new to python, which I need to use for an assignment in a course. I developed the solution (an optimization algorithm) in Freemat / octave / matlab .m file and wanted to call it from Python (the …