Estadística
0 Preguntas
19 Respuestas
0 Problemas
35 Soluciones
CLASIFICACIÓN
1.591
of 300.813
REPUTACIÓN
44
CONTRIBUCIONES
0 Preguntas
19 Respuestas
ACEPTACIÓN DE RESPUESTAS
0.00%
VOTOS RECIBIDOS
6
CLASIFICACIÓN
of 21.086
REPUTACIÓN
N/A
EVALUACIÓN MEDIA
0.00
CONTRIBUCIONES
0 Archivos
DESCARGAS
0
ALL TIME DESCARGAS
0
CLASIFICACIÓN
13.019
of 171.134
CONTRIBUCIONES
0 Problemas
35 Soluciones
PUNTUACIÓN
460
NÚMERO DE INSIGNIAS
3
CONTRIBUCIONES
0 Publicaciones
CONTRIBUCIONES
0 Público Canales
EVALUACIÓN MEDIA
CONTRIBUCIONES
0 Temas destacados
MEDIA DE ME GUSTA
Feeds
Random sampling and removing data
Hey Sooraj, it is not all clear to me whether you want to choose entire rows/columns of your matrix or completely random sets o...
casi 5 años hace | 1
How to create axis with perfect square ticks
yticks((1:50).^2) if you just want to change the labels you can use yticklabels((1:50).^2)
casi 5 años hace | 0
How to input signal to skip numbers and generate data?
A = [0 0 0 0 0 1 1 1 0 0 0 0 1 0 1 1 0 0 1 1 1 1 1 0 0 0 0]; n = 2; B = zeros (1,length(A)); count = 0; ...
casi 5 años hace | 1
| aceptada
If you follow this code, you will see a graph, but when you hit enter, line 45 keeps saying "'l' is an unrecognizable function or variable." But even though for I= 2:k is given, what is the problem?? ?
Your loop variable is a an upper case i, but in your loop you use a lower case l, which look identical in some fonts.
alrededor de 5 años hace | 0
Comparing strings of different lengths.
So is your question how to shorten your code? Maybe try this statement if strcmp(filename1, filename2) % Whatever you want...
alrededor de 5 años hace | 0
How to extract corresponding values of x-axis based y-axis values.
maybe use ismember: idx = ismember(y, [5,6,74,5,67]) xvalues = x(idx) P.S. sorry for the editing, I now read your problem c...
más de 5 años hace | 0
Plotting multiple functions, while showing only parts of them
Hello, you can plot only to the maximal y-value by finding the index of it in your vector of y-values. When you plot x and y, y...
más de 5 años hace | 0
File-loop, for loop,importing excel data
%Read each CSV file, change the text data to numeric and work with it clear; clc; dirroot='C:\Documents\Excel\'; for L=1:2...
más de 5 años hace | 0
| aceptada
Replacing values in a matrix based on values in a column vector
I came up with this. But not sure if this the easiest way to do it. yMat = zeros(length(y)*10, 1); yMat((y-1)*length(y)+ (1:le...
más de 5 años hace | 1
Unable to perform assignment because the size of the left side and right side are different
Hello Mustafa, when you preallocate the variable params, you have a little twist in there, since you defined it as having the sa...
más de 5 años hace | 1
| aceptada
I am getting an empty figure for a given code
Hello, Your variable phi_red is empty. Because your variable loc is empty, it does not run the if(~isempty(locs) command and r...
más de 5 años hace | 1
| aceptada
Draw a square with one line?
Not sure I have understood your problem. I think you want to find out x by drawing an orthogonal line from the y-axis, but I do ...
más de 5 años hace | 0
Print variable text with a numerical variable.
What about you make three more vectors, UP, UV and UT... UP = ["Pa", MPa" , or whatsoever] that have the same length as erres. ...
más de 5 años hace | 0
Unrecognized function or variable 'uu'. Error in 'TBSv1/desired trajectory' while evaluating expression.
If you call this function, you need two inputs inside the bracket: out = DesiredTrajectory(uu, P) It sounds to me like you mig...
más de 5 años hace | 0
Producing strings in empty column based on strings on another column
array(:,5) = ["mike" "mike" "brad" "angie"] sz = size(array, 1); for i = 1:sz name = array(i, 5); switch name ...
más de 5 años hace | 0
| aceptada
In the GUI in MATLAB, how to change the input of a filename in a function for it to be read
From what I understand, your the name 'aae20110806dmin.min' is saved as a string variable called filename. if you want to use t...
más de 5 años hace | 0
| aceptada
How to vectorize this code
[x,y,z] = peaks; prom = 1; % Find dimensions to set up loop xdim = size(x,1); ydim = size(x,2); % vectorize (the vect...
más de 5 años hace | 0
| aceptada
How to change boxplot filling with newer Matlab versions?
You can specify an array for the color, it should have the same size as the columns in y. boxplot (y, 'Colors', ['k' 'r' 'b'], ...
más de 5 años hace | 1
How to replace a string in a table
test = table(); test.month = 'JANUARY'; test.month = lower(test.month); %writes it in lower case letters or you can as well...
más de 5 años hace | 0
| aceptada





