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','...

12 years ago | 2 answers | 0

2

answers

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 ...

12 years ago | 2 answers | 0

2

answers

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

12 years ago | 0

| accepted

Question


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

12 years ago | 1 answer | 0

1

answer

Answered
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...

12 years ago | 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...

12 years ago | 3 answers | 0

3

answers

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...

12 years ago | 4 answers | 1

4

answers

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...

13 years ago | 1 answer | 0

1

answer

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...

13 years ago | 1 answer | 0

1

answer

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...

13 years ago | 1 answer | 0

1

answer

Answered
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"...

13 years ago | 0

| accepted

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...

13 years ago | 3 answers | 1

3

answers

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

13 years ago | 0

Answered
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...

13 years ago | 0

| accepted

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'...

13 years ago | 2 answers | 0

2

answers

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...

13 years ago | 1 answer | 0

1

answer

Answered
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...

13 years ago | 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) ...

13 years ago | 1 answer | 0

1

answer

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...

13 years ago | 3 answers | 3

3

answers

Answered
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...

13 years ago | 0

| accepted

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...

13 years ago | 4 answers | 1

4

answers

Answered
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...

13 years ago | 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...

13 years ago | 1 answer | 0

1

answer

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...

13 years ago | 2 answers | 4

2

answers