with your help, i am now able to call the function for each radio button. however, i get a error message
Reference to non-existent field 'ics_si'
ics_si is my function, which has the following code, i do not know where i am making a mistake
i have created the edit box for user to input the values for bore and stroke. and vdisp is cal...
I'm trying to pass a txt file to som_read_data from a GUI......i created a function that takes a txt file from the GUI and then passes it to som_read_data..but i'm getting some errors...here are a list of some of the errors.....any one with ideas?
??? Error using ==> ftell
Invalid file identifier. Use fopen to generate a valid file ide...
I have two arrays of data that I'm trying to amalgamate. One contains actual latencies from an experiment in the first column (e.g. 0.345, 0.455... never more than 3 decimal places), along with other data from that experiment. The other contains what is effectively a 'look up' list of latencies ranging from 0.001 to 0.500 in 0.001 increm...
For a mentoring project, I am looking for an online repository of classic computer vision exercises, similar to Project Euler, but geared towards image processing problems that could be solved in MATLAB or OpenCV.
Anyone have any ideas?
...
hi,
i have a very big problem.
ich wrote a programm which is using a matlab dll. i build some classes with the matlab .net builder. it runs on my pc :)
the problem is, i want to use ist on a pc without matlab. so i installed mcr, but it dont run :(
what are the steps i should do? the system variable path is right... where i have to ...
Hi,
I'm trying to use the Java commands pw.println() and br.readLine() in Matlab because I have set up a socket (input_socket2) between Matlab and a command-line program I want to control using Java classes BufferedReader and PrintWriter. Before the following snippet of code, I implemented another socket that goes between 2 computers. ...
I plot a single trace in MATLAB with plot(). I'd like to add a right-y axis with a different set of tick marks (scaled linearly). Is this possible?
...
I'm designing a GUI to implement SOM algorithm in MATLAB, but i'd want the user to be able to input the "No of iterations", "Initial and Final Neighborhood size" and "Initial and Final Learning Rates"....i'm using the SOM toolbox, how do i use these inputs gotten from the user to achieve my goal......any help please...rmbr files from the...
Hi,
I wonder what is the difference between annotation() and text() functions in Matlab? In what cases, one of them is prefered over the other?
Thanks and regards!
...
What is a quick, elegant way of using MatLab to form a subarray around a particular element? Element are selected randomly from the data, so you can't take a subarray in the normal way (it has to be generalized for the elements that are selected). What I mean is, forming an array for example 5x5 or 7x7 or something, where the middle elem...
Suppose I have a matrix A and I sort the rows of this matrix. How do I replicate the same ordering on a matrix B (same size of course)?
E.g.
A = rand(3,4);
[val ind] = sort(A,2);
B = rand(3,4);
%// Reorder the elements of B according to the reordering of A
This is the best I've come up with
m = size(A,1);
B = B(bsxfun(@plus,(ind-1)*...
Hi Guys, just wondering if anyone has any ideas about an issue I'm having.
I have a fair amount of data that needs to be displayed on one graph. Two theoretical lines that are bold and solid are displayed on top, then 10 experimental data sets that converge to these lines are graphed, each using a different identifier (eg the + or o or ...
edit:
A more pointed question:
What is the derivative of softmax to be used in my gradient descent?
==============
This is more or less a research project for a course, and my understanding of NN is very/fairly limited, so please be patient :)
==============
I am currently in the process of building a neural network that attempts to...
I'm curious is it possible to change text properties of tick labels independently of axes properties. Do they have handles? I'd like to control their position better, alignment, color, fonts, etc.
I know I can substitute them with text labels, but it has some drawbacks. Any alternative solutions?
Particularly, is it possible to put xtic...
hi, currently in matlab i have int array a=[3,4,5,6,7];
i want to convert it to binary array with four bits each.
for the above int array i would get the following binary array abinary=[0,0,1,1, 0,1,0,0, 0,1,0,1, 0,1,1,0, 0,1,1,1];
is there any fast way to do it? thanks a lot!
...
I would like to know how I can use SOM for disease detection. Given a lung cancer dataset, how can SOM be applied for detection, there are certain terminologies like, sensitivity, specificity and accuracy percentages....are there ways to calculate all these with the SOM algorithm? I would appreciate answers from anyone who can shed more ...
Hi!
I'm writing a small C application that launchs a Matlab script (.m file).
I need to exchange some variables and I don't know how to get an array of chars that exists in Matlab.
I'm doing something like this:
enter code here
result = engGetVariable(ep,"X");
if (!result)
{
printf ("Error...");
exit -1;
}
int...
I'm getting some new students soon, who will be writing Matlab code. They're new to Matlab, but they have experience coding in Java and C++.
I'm going to have them go through the 'Getting Started' section of the Matlab help. In addition, I want to give a small tutorial with the goal to prevent them from making some of the most common mi...
Suppose I have the following matrix:
01 02 03 06
03 05 07 02
13 10 11 12
32 01 08 03
And I want the indices of the top 5 elements (in this case, 32, 13, 12, 11, 10). What is the cleanest way to do this in MATLAB?
...
I would like to use jtraj to specify a trajectory in a Simulink model. Below are what I attempted to retrieve in the command prompt:
Q0 = [1 1 0];
Q1 = [1+0.5*cos(2*20) 1+0.5*sin(2*20) 0];
t = 0:0.1:20;
[Q, Qd, Qdd] = jtraj(Q0, Q1, t);
However, I don't know how to include such trajectory data in the Simulink model easily. Any comments...