Domanda


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

quasi 13 anni fa | 2 risposte | 0

2

risposte

Domanda


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

quasi 13 anni fa | 2 risposte | 0

2

risposte

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

quasi 13 anni fa | 0

| accettato

Domanda


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

quasi 13 anni fa | 1 risposta | 0

1

risposta

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

quasi 13 anni fa | 1

Domanda


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

quasi 13 anni fa | 3 risposte | 0

3

risposte

Domanda


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

circa 13 anni fa | 4 risposte | 1

4

risposte

Domanda


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

oltre 13 anni fa | 1 risposta | 0

1

risposta

Domanda


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

oltre 13 anni fa | 1 risposta | 0

1

risposta

Domanda


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

oltre 13 anni fa | 1 risposta | 0

1

risposta

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

oltre 13 anni fa | 0

| accettato

Domanda


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

oltre 13 anni fa | 3 risposte | 1

3

risposte

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

oltre 13 anni fa | 0

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

oltre 13 anni fa | 0

| accettato

Domanda


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

oltre 13 anni fa | 2 risposte | 0

2

risposte

Domanda


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

oltre 13 anni fa | 1 risposta | 0

1

risposta

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

oltre 13 anni fa | 0

Domanda


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

oltre 13 anni fa | 1 risposta | 0

1

risposta

Domanda


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

oltre 13 anni fa | 3 risposte | 3

3

risposte

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

oltre 13 anni fa | 0

| accettato

Domanda


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

oltre 13 anni fa | 4 risposte | 1

4

risposte

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

oltre 13 anni fa | 1

Domanda


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

oltre 13 anni fa | 1 risposta | 0

1

risposta

Domanda


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

oltre 13 anni fa | 2 risposte | 4

2

risposte