Question


How to add multiple indices to graph title, legend, and output image?
*Motivation:* I want to automatize the loading, processing and output of multiple data. Indices such as i, j, k, etc... are used...

casi 10 años ago | 3 answers | 0

3

answers

Question


How to load multiple indexed .txt tables at once using a loop?
*MOTIVATION:* Hi, I want to import multiple tables such as table1.txt, table2.txt, ..., tablei.txt. *WHAT I DID:* For this I wr...

alrededor de 10 años ago | 1 answer | 0

1

answer

Question


How to save image of a video.avi file into the folder where Matlab is running as image.bmp file?
*Motivation:* I'm currently using VirtualDub v1.9.11 (Free Software) to load a video.avi file and extract all images one by one...

alrededor de 10 años ago | 1 answer | 0

1

answer

Question


How to make a variable in one .m file make changes in another .m file?
Hi, I change the variable of one .m file and want that this number be automatically rewritten for another variable in another .m...

alrededor de 10 años ago | 2 answers | 0

2

answers

Answered
How to erase a text or image file in a folder from the command window?
delete('file.extension')

alrededor de 10 años ago | 1

Question


How to erase a text or image file in a folder from the command window?
Hi, what commands I have to write to erase any file in a folder from the command window? Thanks Emerson

alrededor de 10 años ago | 2 answers | 0

2

answers

Question


How to import multiple indexed .txt files using a loop?
*MOTIVATION:* I want to: a) create, b)save and c) import .txt-tables using an index i within a loop. *EXAMPLE:* To create...

alrededor de 10 años ago | 1 answer | 0

1

answer

Question


How to add an index to graph title, legend, and output image without having to write everywhere the same number
*MOTIVATION:* I want that a predefined number be used in the following: 1) generation of a graph, 2) title of the graph, ...

alrededor de 10 años ago | 1 answer | 0

1

answer

Question


How to replace values of a large array by the values of a smaller one?
I have two tables T1 and T2 with identical number of columns but different number of raw. The x,y,z columns from both tables ...

alrededor de 10 años ago | 1 answer | 0

1

answer

Question


How to plot discrete points as colormap?
*INTRO:* I want to plot z as color dots of each x,y-coordinate-pair. Assume the array is given as in the example below: ...

alrededor de 10 años ago | 1 answer | 0

1

answer

Question


How to alternately exclude raws of a table?
*INTRO:* I created a table T using the following command lines: xvector = 1:1:10; yvector = 1:3:20; numX = nume...

alrededor de 10 años ago | 1 answer | 0

1

answer

Question


How to plot the surface of an arbitrary given TABLE (not matrix) with X,Y,Z values?
I want to plot the surface Z of arbitrary given values for each X,Y-pair. I usually IMPORT the tables with the X,Y,Z data, so...

más de 10 años ago | 2 answers | 0

2

answers

Question


How to change the Head Properties of a vector?
I want to change the *HeadProperties* of a vector. In the example below I show the problems: *SCRIPT:* clear all; close a...

más de 10 años ago | 1 answer | 0

1

answer

Answered
How to export an image with no bakground color but transparent?
set(gcf, 'color', 'blue'); set(gca, 'color', 'yellow'); set(gcf, 'InvertHardCopy', 'off');

más de 10 años ago | 0

| accepted

Question


How to export an image with no bakground color but transparent?
I want to export a graph but without any background, also NO WHITE. The exported image is expected to be transparent and will be...

más de 10 años ago | 1 answer | 0

1

answer

Question


How to add minor ticks to a graph from the command lines?
I want to to add the Minor Ticks from the command line. Currently, I'm editing the Major Ticks as follows: set(gca) set...

más de 10 años ago | 1 answer | 0

1

answer

Question


How to skip data point by plotting in 2D-curves surf-curve?
I would like to know how to skip data points by plotting 2d-curves? For example, let: x = 0:pi/100:2*pi; y = sin(x); ...

más de 10 años ago | 1 answer | 0

1

answer

Question


How to skip vectors and plot the n-vector with quiver ( 2D-vecor-vector field)
I want to know how to skip some rows by plotting a two-dimensional vector-field. For example, let U and V be the coordinates ...

más de 10 años ago | 3 answers | 0

3

answers

Question


How to change the axis properties of a graph?
Hi, I want to change the FontSize, FontName and FontWeight of the axis from my graph but I only get error messages. Below you ...

más de 10 años ago | 2 answers | 1

2

answers

Question


How to correct the amplitude of the vectors displayed in a 2D-vector-field plot?
*Motivation:* I want to plot a vector field where U and V are arbritrary coordinates and x and y are the vector components at...

más de 10 años ago | 1 answer | 0

1

answer

Question


How to import an avi-file?
I want to import an avi-file. I used the command line: mov = aviread(filename) as suggested in the Matlab documentation. H...

más de 10 años ago | 2 answers | 0

2

answers

Question


how to correctly skip elements of a vector field table with 4 columns
*INTRO:* I have a vector field table build of 4 columns: the first two columns are the x and y coordinates, respectively and the...

más de 10 años ago | 1 answer | 0

1

answer

Question


How to exclude empty values from an array during statitical calculations?
I have an array build of numbers and empty values NaN and I want to calculate statistical quantities such as median, mean, e...

más de 10 años ago | 1 answer | 0

1

answer

Question


How to generate and calculate with empty values of matrix-elements
PROBLEM: I want to use logical functions to perform calculations between matrices and don't know how to generate an empty...

más de 10 años ago | 2 answers | 0

2

answers

Question


Problem by importing alpha numeric text files
Hi, INTRO: I have an alpha numeric text file. Thus, among many values, I have also the output 'NA' for non available value o...

más de 10 años ago | 1 answer | 0

1

answer

Question


How to extract the frequency and amplitude from a FFT and save the values in separated tables?
Hi, I would like to extract the values of frequency and amplitude from a fft and save them in separated tables. For example, ...

más de 10 años ago | 1 answer | 0

1

answer

Question


How to obtain accurate fast fourier transformation
Hi I tried to extract the amplitude and frequency of a wave equation but the values are not accurate. For a given frequency w...

más de 10 años ago | 1 answer | 0

1

answer

Question


How to replace the elements of a matrix using the conditions if,else?
I want to replace the elements of a matrix using different conditions. For instance, let all elements larger than 0.5 be r...

más de 10 años ago | 7 answers | 4

7

answers

Question


How to plot a 2D vector-field and exclude zero-vectors (dots) in the graph?
I plotted a vector field as written below: quiver(T(:,1),T(:,2),T(:,3),T(:,4)) where the variables T(:,1) and T(:,2) ar...

más de 10 años ago | 1 answer | 0

1

answer

Question


Plot 2D vector field
Hi I have a table T of four columns x,y,u,v, where x and y are the coordinates and u and v are the values of the x and ...

más de 10 años ago | 2 answers | 0

2

answers

Load more