Frage


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

etwa 13 Jahre vor | 2 Antworten | 0

2

Antworten

Frage


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

etwa 13 Jahre vor | 2 Antworten | 0

2

Antworten

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

etwa 13 Jahre vor | 0

| akzeptiert

Frage


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

etwa 13 Jahre vor | 1 Antwort | 0

1

Antwort

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

etwa 13 Jahre vor | 1

Frage


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

etwa 13 Jahre vor | 3 Antworten | 0

3

Antworten

Frage


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

mehr als 13 Jahre vor | 4 Antworten | 1

4

Antworten

Frage


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

mehr als 13 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

mehr als 13 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

mehr als 13 Jahre vor | 1 Antwort | 0

1

Antwort

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

mehr als 13 Jahre vor | 0

| akzeptiert

Frage


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

mehr als 13 Jahre vor | 3 Antworten | 1

3

Antworten

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

mehr als 13 Jahre vor | 0

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

mehr als 13 Jahre vor | 0

| akzeptiert

Frage


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

mehr als 13 Jahre vor | 2 Antworten | 0

2

Antworten

Frage


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

mehr als 13 Jahre vor | 1 Antwort | 0

1

Antwort

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

mehr als 13 Jahre vor | 0

Frage


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

mehr als 13 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

mehr als 13 Jahre vor | 3 Antworten | 3

3

Antworten

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

mehr als 13 Jahre vor | 0

| akzeptiert

Frage


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

mehr als 13 Jahre vor | 4 Antworten | 1

4

Antworten

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

mehr als 13 Jahre vor | 1

Frage


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

mehr als 13 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

mehr als 13 Jahre vor | 2 Antworten | 4

2

Antworten