Tagged Questions

MATLAB is a high-level language and programming environment developed by MathWorks. It is the foundation for a number of other tools, including Simulink and various toolboxes that extend the core capabilities. This tag relates specifically to the use of toolboxes. For general questions on MATLAB, ...

learn more… | top users | synonyms

0
votes
1answer
9 views

How to implement a custom performance function to be used with Matlab's neural network toolbox?

The default performance function is mse, but I want to use a different metric for calculating performance. I also noticed that trainlm doesn't support custom performance functions. An additional ...
1
vote
1answer
26 views

How to deal with floating point coordinate values in image

I am plotting some geometry on an image. The problem is the coordinates are coming out as floats, so I am not able to plot them. As a work around I am using floor(); to truncate it to nearest Integer. ...
0
votes
0answers
22 views

How to assign to an array of variables an array of values in MuPad

I want to assign a matrix, vector of symbolic elements, a matrix, vector of values... How? Something like: matrix([a,b,c,d]) = matrix([1,2,3,4]) Which is incorrect in MuPad... So how? Thanks
0
votes
0answers
12 views

How to setting cameras parameters from matlab function

I use a AVT Guppy camera for image acquisition, and everything works fine. But now I have to set camera parameters (mainly shutter time) from my function. Is it possible? And which function can I use ...
2
votes
1answer
43 views

I have troubles reconstructing decomposed tensor in matlab

We have a tensor in matlab of size 308 x 22 x 29 x 12 x 492020 It is pretty big. We did decomposition on it and it worked fine. Now we are trying to reconstruct it back to get some predictions. When ...
-1
votes
1answer
31 views

fisheriris data and perceptron

i want to apply the perceptron algorithm for fisheriris data and i was tried this code function [ ] = Per( ) %PERCEPTON_NN Summary of this function goes here % Detailed explanation goes here ...
0
votes
0answers
20 views

fisheriris data [closed]

i want to know how to add fisheriris data "meas , species" in one dataset uisng matlab or array . how to apply the Perceptron algorithm for the fisherIris data in matlab
1
vote
2answers
51 views

Drawing 256 squares/rectangles in MATLAB

I am trying to draw 256 small sized squares using MATLAB rectangle function. If I am drawing abut 10 squares then the following works fine: for i=1:2:40 rectangle('Position',[5,3+i,0.3,0.3],... ...
0
votes
1answer
27 views

Blank TIF image when using MATLAB TIFF class

*strong text*I am trying to save a multi-page TIF file using the MATLAB TIFF class in 2012a by following the example in the documentation. My usage differs in that I am writing a 32-bit grayscale ...
0
votes
1answer
28 views

Can Matlab Pass Data In String To Visual Studio 2010 in real time?

I am doing some Matlab coding which able pass data to visual Basic 2010 in real time. Anyone of u has any idea about it? And i quite rush for it. Thank You :D p/s:i apologize for my bad English ...
1
vote
1answer
49 views

rhythm of speech

Hi folks I am very new to Matlab and I want to know that is there any way or function in Matlab to calculate approximately the rhythm of speech? How can it be done? If not, what should I use to do ...
0
votes
1answer
38 views

How to create a color map from a [0,1] matrix setting color range in [0,1] interval in Matlab

Consider a matrix whose values are all in the real interval [0,1]. I am trying to get a color map from this matrix in Matlab. My problem concerns using both the image function or the HeatMap object ...
2
votes
1answer
83 views

Dimension reduction methods for images

I am trying to reduce the dimensions on an a set of images using Matlab Toolbox for Dimensionality Reduction. Problem is: I know very little about dimension reduction. So am trying each one by trial ...
0
votes
0answers
33 views

How to call a Matlab function or script from a MuPad notebook

In general Consider having a MuPad notebook. Consider also having some Matlab functions that you want to use in your MuPad notebook. The functions, or even some scripts files (so just .m files), are ...
0
votes
1answer
64 views

How to divide an image into 8 regions using Matlab

I have 256x256 image, Is there any easy way to divide it into 8 regions(32x32) and get a specific region? Ex.: region 4,6

1 2 3 4 5 15
15 30 50 per page