Answered
How i can call a function 100 time?
so in your private message you clearied by : _thanks for the comment. Here is what i tried however, its not working. I acut...

11 years ago | 0

Answered
Filling a 3d matrix from columns
so you can use randi(12,30,30) to generate a 30x30 matrix of values 1 to 12 to select which of the 12 columns to place in the ro...

11 years ago | 0

| accepted

Answered
Set a time limitation on algorithms
alexaa1989 if you look closely at the Salaheddin's example while toc < 5 it only does the while loop for when it is les...

11 years ago | 0

Answered
how can i generate this chromosome?
I would start by creating an array containing the numbers you want in it and then using randperm to generate a random random ord...

11 years ago | 0

| accepted

Answered
How do I convert many files .spt type to .dat type in matlab? need urgent help!
If you say it is a SPOT file then could <http://www.mathworks.com/help/bioinfo/ref/sptread.html> sptread(). I am not familiar w...

11 years ago | 0

| accepted

Answered
How do you fill a GUIDE generated listbox with strings from a multileveled struct?
Well first you'll have to figure out how to work in cells. Since i do not know how you've got your subject.name constructed sub...

11 years ago | 5

| accepted

Answered
how can we read excel file with cells colors, format and having image?
So i try not to do this and live in one world but these things can be achieved through the ActiveX server. Say for instanc...

11 years ago | 2

Answered
Enable Rotate or Zoom automatically
it is very possible to do so. check out <http://www.mathworks.com/help/matlab/ref/zoom.html for zoom> and on the left side of ...

11 years ago | 1

| accepted

Answered
Make my code for taking norm efficient
before the for loop read all the data from row 1 to row m from my_second_file.xlsx into matlab and then reference that data in t...

11 years ago | 0

Answered
Using a Matlab GUI Button to Halt a running callback
This can be done but for ease i would change to a toggle button. Save the below code as a whole under opti.m and then run it. ...

11 years ago | 0

| accepted

Answered
How to subtract mean daily values from hourly data?
So, based on what you've done so far here is a spiffied up version: %% generate sample data. dateN = datenum('03-Sep-201...

11 years ago | 0

| accepted

Answered
Even vs Odd Vector
Start by looking at <http://www.mathworks.com/help/matlab/matlab_prog/create-functions-in-files.html how to create functions> th...

11 years ago | 1

Answered
Polar Plot with a moving marker
Not entirely sure what you mean by move around the circle but here is an example: function clicktest() theta = 0:0.0...

11 years ago | 1

| accepted

Answered
Respond to the left mouse click button in GUI
there is a problem with what you're trying to accomplish. here is a quick demo you can run. copy and paste into a mfile called ...

11 years ago | 0

| accepted

Answered
How make a graphic with only equations ?
if you have MuPad Notebook (part of the symbolic toolbox?) you can use it like here <http://www.mathworks.com/help/symbolic/mup...

11 years ago | 0

Answered
I need to plot an airfoil and it is just not looking right
just curious why you are doing the plotyy? ax=plot(x1,zl1,x1,zu1) axis equal should work just fine unless the y axis...

11 years ago | 0

| accepted

Answered
How can i generate a graph dynamic
So i'm assuming from the screen shot you already have something that pulls in and reads in the data. So here is a quick example...

11 years ago | 0

Answered
What does this command (x = [(n-n0) == 0];) do in the following coding on Matlab?
if we break it down into sections: n-n0==0 will do the logical comparison of the array n-n0 to 0. This will result in...

11 years ago | 0

| accepted

Answered
plotting multiple plots in a for loop
in your MTF_filename = ['file',int2str(i)]; x(i) = MTF_filename(:,1) y(i) = MTF_filename(:,2) you'r...

11 years ago | 0

Answered
GUIDE opens figure as "Untitled"
if the above is true and everything is working try right click the background of your gui and edit the "Name" property. See if ...

11 years ago | 1

Answered
How do i sent a document to printer.
you could create batch files for specific file formats that you can use the matlab system() command for window's commands to run...

11 years ago | 1

| accepted

Answered
loop and graph problem (time vs area)
in your for loop you'll need to save the value of your calculated bwarea. if you do not then you're just over writing the value...

11 years ago | 0

Answered
Problem creating axes with subplot
So just like dpb said there is something going on with the subplot and when it is called it may delete the previous axes. Here i...

11 years ago | 0

Answered
Set format to logical for ROWS in uitable
It wouldn't be in the setting as the column but you could just add it as a row; f = figure; dat = {1,2,3;2,3,4;3,4,5}; ...

11 years ago | 0

Answered
Replace the white region in an binary image with Green ? and black colour unaffected
you can define the colormap used. here is a quick example point3d = imread('pears.png'); value = rgb2gray(point3d); ...

11 years ago | 1

| accepted

Answered
Is there a way to get a matlab tip everytime I open Matlab or on a daily basis and how can it be customized ?
the matlabrc.m file can be edited see <http://www.mathworks.com/help/matlab/ref/matlabrc.html>. upon startup matlab will run th...

11 years ago | 0

Answered
How to get values ​​from a column based on the values ​​of other columns?
you can use == to find the rows for each B value. here is an example of an implementation uB = unique(MatAnsExample(:,...

11 years ago | 0

Answered
How can fix the position of Edit box with bounding box in matlab
Some questions come to mind about your bounding box. is the bbox(1) and bbox(2) points relative to the axis handle or relative ...

11 years ago | 0

Answered
Find the start and end position of a data frame in a pulsed signal
so what one would do first is threshold a signal and perform an edge detection on it. something like this: close all; f...

11 years ago | 1

| accepted

Answered
Question about axes using GUI in MATLAB
Well... depending on what you're attempting to do here is a sample pushbutton that you'll have to play around with the spacing. ...

11 years ago | 0

| accepted

Load more