Réponse apportée
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...

presque 12 ans il y a | 0

Réponse apportée
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...

presque 12 ans il y a | 0

| A accepté

Réponse apportée
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...

presque 12 ans il y a | 0

Réponse apportée
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...

presque 12 ans il y a | 0

| A accepté

Réponse apportée
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...

presque 12 ans il y a | 0

| A accepté

Réponse apportée
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...

presque 12 ans il y a | 5

| A accepté

Réponse apportée
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...

presque 12 ans il y a | 2

Réponse apportée
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 ...

presque 12 ans il y a | 1

| A accepté

Réponse apportée
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...

presque 12 ans il y a | 0

Réponse apportée
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. ...

presque 12 ans il y a | 0

| A accepté

Réponse apportée
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...

presque 12 ans il y a | 0

| A accepté

Réponse apportée
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...

presque 12 ans il y a | 1

Réponse apportée
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...

presque 12 ans il y a | 1

| A accepté

Réponse apportée
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 ...

presque 12 ans il y a | 0

| A accepté

Réponse apportée
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...

presque 12 ans il y a | 0

Réponse apportée
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...

presque 12 ans il y a | 0

| A accepté

Réponse apportée
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...

presque 12 ans il y a | 0

Réponse apportée
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...

presque 12 ans il y a | 0

| A accepté

Réponse apportée
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...

presque 12 ans il y a | 0

Réponse apportée
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 ...

presque 12 ans il y a | 1

Réponse apportée
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...

presque 12 ans il y a | 1

| A accepté

Réponse apportée
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...

presque 12 ans il y a | 0

Réponse apportée
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...

presque 12 ans il y a | 0

Réponse apportée
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}; ...

presque 12 ans il y a | 0

Réponse apportée
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); ...

presque 12 ans il y a | 1

| A accepté

Réponse apportée
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...

presque 12 ans il y a | 0

Réponse apportée
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(:,...

presque 12 ans il y a | 0

Réponse apportée
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 ...

presque 12 ans il y a | 0

Réponse apportée
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...

presque 12 ans il y a | 1

| A accepté

Réponse apportée
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. ...

presque 12 ans il y a | 0

| A accepté

Charger plus