Question


Setting colors for plot function
I would like to be able to choose the colors for a multiline plot but I can not get it. This is my code colors = {'b','r','...

presque 15 ans il y a | 2 réponses | 0

2

réponses

Question


Modify choices for a ListBox Callback
I would like know how I could simplify(modify) the hSelecVarIndCallback function. I want to avoid the repetition of the choices ...

presque 15 ans il y a | 2 réponses | 0

2

réponses

Réponse apportée
Display window for text file
Here is the solution for a generic archive called 'textfile.txt': f = figure('menu','none','toolbar','none'); fid = fopen('...

presque 15 ans il y a | 0

| A accepté

Question


Display window for text file
Target: Visualize a text file inside a box which has a scrollbar.

presque 15 ans il y a | 1 réponse | 0

1

réponse

Réponse apportée
How do I get a colormap from JPEG file?
Here is the solution for my question based on the answer of Walter Robertson: [X, map] = rgb2ind(imread('neptune.jpg'),12...

presque 15 ans il y a | 1

Question


How do I get a colormap from JPEG file?
Hi. I have a jpg image file of the surface of Neptune. My intention is to build a texture mapping ( <http://www.mathworks.es/hel...

presque 15 ans il y a | 3 réponses | 0

3

réponses

Question


Simple Piece of Code for improvement
Hi. It is known that MATLAB works slow with for loop. I have tried to vectorize the following code without success. Perhaps I am...

presque 15 ans il y a | 4 réponses | 1

4

réponses

Question


Mex-file using a vector class definition
I am trying to create a Mex-file from a C++ code source file to use it with Matlab. I have compiling errors due to the vector cl...

environ 15 ans il y a | 1 réponse | 0

1

réponse

Question


3D-Animation plot with the hgtransform command
I continue to think of the possibilities for the 3d-animation (moving point along a curve). I have written the following code to...

environ 15 ans il y a | 1 réponse | 0

1

réponse

Question


Moving point along a curve (3D-Animation plots)
Hi. I am trying to make an animation of the trajectory (circular orbit of 7000 km altitude) of a satellite orbiting the Earth. T...

environ 15 ans il y a | 1 réponse | 0

1

réponse

Réponse apportée
Figure window transitions (screen transitions - GUI design)
After a long research work, I have found a reasonable answer which was nearest to that I thought. If you type in "splash screen"...

environ 15 ans il y a | 0

| A accepté

Question


Figure window transitions (screen transitions - GUI design)
Hi. My idea is building a logo image (similar to Matlab's startup one) which shows before my gui is appeared. I have the followi...

environ 15 ans il y a | 3 réponses | 1

3

réponses

Réponse apportée
Why do I receive an error when I run this code?
My Matlab program says that you have not defined the variable z.

environ 15 ans il y a | 0

Réponse apportée
Smooth transition (optical effect) between uitabpanels
In conclusion, the ButtonDownFcn and SelectionChangeFcn functions of an UITAB are already active when you click in the tab´s lab...

environ 15 ans il y a | 0

| A accepté

Question


Smooth transition (optical effect) between uitabpanels
Hi. I have designed a group of three uitabpanels objects. htab = uitabgroup('v0'); th1 = uitab('v0',htab,'title','Panel 1'...

environ 15 ans il y a | 2 réponses | 0

2

réponses

Question


Code's improvement (plots animation)
Hi. My intention is creating an animated plot which will represent the trajectory of a body in the space. I have written this co...

environ 15 ans il y a | 1 réponse | 0

1

réponse

Réponse apportée
Double summation with vectorized loops
Hi. Taking like reference the solution Jan3, given by Jan Simon, I have written the following code for my problem. Thank all tha...

environ 15 ans il y a | 0

Question


Code's optimization and speeding up (Legendre's polynomials and functions)
Hi. I would like to improve this function to reduce the run time and optimize it. function [Pl,Plm] = funlegendre(gamma) ...

environ 15 ans il y a | 1 réponse | 0

1

réponse

Question


Double summation with vectorized loops
Hi. I want to vectorize this double for loop because it is a bottleneck in my code. Since MATLAB is a based-one indexing languag...

environ 15 ans il y a | 3 réponses | 3

3

réponses

Réponse apportée
Validation of a date with a given format
Thank you all for the answers. This is one of the posible callback function codes corresponding to the edit text box that it can...

plus de 15 ans il y a | 0

| A accepté

Question


Validation of a date with a given format
Hi. I am designing a GUI. I have an edit text box where I enter a date string with the following format '31 Mar 2011 10:00:00.00...

plus de 15 ans il y a | 4 réponses | 1

4

réponses

Réponse apportée
How do I concatenate multiple arrays into a single matrix?
Hi. I think this page will help you: <http://www.mathworks.com/help/techdoc/ref/cat.html> (see the note on the section Remar...

plus de 15 ans il y a | 1

Question


How to use a panel created inside a .fig file by other different .fig file?
Hi. I have two distinct files, myguide.fig (and its corresponding mygui.m) which contains the definition of an uitabgroup and th...

plus de 15 ans il y a | 1 réponse | 0

1

réponse

Question


what is a valid handle for Matlab?
Hi. I am newbie with Matlab. I am learning through the Matlab Documentation. In these moments, I am doing the example "A GUI t...

plus de 15 ans il y a | 2 réponses | 4

2

réponses