Pregunta


Finding elements of an arrays having specified index numbers
If I select a number of elements from an M X N array (which usually follow a pattern) I need to assign the indices of these elem...

alrededor de 5 años hace | 1 respuesta | 0

1

respuesta

Pregunta


Use isnan with input excel data containing a combination of strings and empty cells in a row
When I read raw data from an excel file named INFILE.xls, I usually want to remove the free spaces between columns afterward and...

alrededor de 5 años hace | 1 respuesta | 0

1

respuesta

Pregunta


Sum of rows with whose row numbers are specified by another array
I have an array of the form: TTX = 20 9 2 7 40 10 10 1 60 2 10 9 0 1...

alrededor de 5 años hace | 1 respuesta | 0

1

respuesta

Pregunta


Identifying blocks of data from a cell array having the same header
I usually use xlsread to load large excel datasheets for further manipulation. The excel worksheet looks somewhat like this: ...

alrededor de 5 años hace | 1 respuesta | 0

1

respuesta

Pregunta


Creating table with variablenames properts as an array
I create a table of the form: Temp={'T_'} rpm=[70; 80; 90] Temperature=strcat(Temp,num2str(rpm)) TVALz=[190 220 300 140; 57 ...

alrededor de 5 años hace | 0 respuestas | 0

0

respuestas

Pregunta


How to perform mathematical operation between all elements of arrays with unequal numbers
I have two arrays A & B, being a nXm and a pXq array, repsctively. I want to take A(i,j) and multiply it in or subtract it from ...

alrededor de 5 años hace | 2 respuestas | 0

2

respuestas

Pregunta


Converting cell array from excel to numbers
Reading from a large excel sheet using xlsread, I am trying to read data and find numerical values assigned to specific lines in...

alrededor de 5 años hace | 3 respuestas | 0

3

respuestas

Pregunta


Rearranging Array Rows into Multiple Blocks while Maintaining the Old Order
How can I rearrange an array from alternating rows to multiple blocks, maintaining the order of the rows?

más de 5 años hace | 2 respuestas | 0

2

respuestas

Pregunta


Converting 2D Array to 3D
How can I convert a 2D array to a 3D array in the following form?

más de 5 años hace | 1 respuesta | 0

1

respuesta

Pregunta


Comparing common strings in two large string arrays imported from excel (using xlsread)
I have two very large string arrays (one of them 2000 rows and the other one is 7000 rows) that I import using xlsread and want ...

más de 5 años hace | 2 respuestas | 0

2

respuestas

Respondida
Processing data of different classes read from the same column in an excel file
青野さん、答えありがとうございます。 Actually, I usually read all the data in the raw format as: [~,~,rawdata]=xlsread('filename.xls',1) And th...

más de 5 años hace | 0

Pregunta


Processing data of different classes read from the same column in an excel file
Usually when I read large amounts of data from excel files the format of data in every column are the same. For example, a targe...

más de 5 años hace | 2 respuestas | 0

2

respuestas

Pregunta


Numeircal integral with external function and external parameter
I would like to calculate an integral whereas the integrand is a separate external function. Consider as an example that I have ...

más de 5 años hace | 1 respuesta | 0

1

respuesta

Pregunta


Re-arranging array columns in alternating form
I would like to write a function: function [Y]=AlternateColumns(X,n) that takes an array X of the form: and turns it into ...

más de 5 años hace | 1 respuesta | 0

1

respuesta

Pregunta


Assign different colors to multiple plots without loop
I have one array x and a multi-column array Y and would like to plot all Y#s on the same diagram against X and assign each plot ...

más de 5 años hace | 1 respuesta | 0

1

respuesta

Pregunta


Diagonal matrix from multiple columns of an array
I have the array M=[a b c; d e f; g h i] and I want to construct an array composed of several diagonal arra...

más de 5 años hace | 1 respuesta | 0

1

respuesta

Pregunta


Function used in fsolve with array coefficients
Using fsolve I want to solve an equation for x which has the follwing form: a1*f1(x)+a2*f2(x)+...+ai*fi(x)=0 where ai a...

casi 6 años hace | 1 respuesta | 0

1

respuesta

Pregunta


Polyfit with Some Coefficients Fixed
I want to fit a set of data using polyfit, but I want certain coefficients to have fixed values. E.g., if the data is to be fitt...

casi 6 años hace | 1 respuesta | 0

1

respuesta

Pregunta


Double Integral of Multiple Functions in Array Form
I would like to shorten a numerical integration code by defining a set of functions of x & y that have the individual parts: ...

casi 6 años hace | 1 respuesta | 0

1

respuesta

Pregunta


Double Integral of Several Functions where Integrand is in Symbolic Array Format
Is there a way to calculate several double integrals simultaneously if the integrand function is first written in symbolic math ...

casi 6 años hace | 1 respuesta | 0

1

respuesta

Pregunta


Differential Equation with Coefficients as Integral Functions
I would like to solve a differential equation e.g. in the form: y"+f(x)y'=0 where the coefficient function can only be given a...

casi 6 años hace | 1 respuesta | 0

1

respuesta

Pregunta


how to define an integral function
I want to define a function in the integral form f(x)=integral(g(z), z=0, z=x) as an example: <</matlabcentral/ans...

casi 6 años hace | 1 respuesta | 0

1

respuesta

Respondida
Squeeze array elements with almost (but not exactly) equal value into one element.
Thanks Walter, uniquetol seems to work fine and that's what I was looking for!

alrededor de 6 años hace | 0

Pregunta


Squeeze array elements with almost (but not exactly) equal value into one element.
I have the array A=[1.74500 1.74567 1.73985 1.74271 6.67891 6.662314 6.61031 10.78678 10.76789 ...] I want to squeeze a...

alrededor de 6 años hace | 2 respuestas | 0

2

respuestas

Pregunta


Singular Jacobian with BVP4c used to solve eigenvalue problem
I have been trying to solve an eigenvalue problem of the form: y"+y/x+(Lambda^2)*(1-x^2)y=0 which is a Sturm-Liouville ...

alrededor de 6 años hace | 1 respuesta | 0

1

respuesta

Pregunta


Using errorbar for multi-column datasets without loop
I have two datasets X and Y and the respective error values of Y stored in errY (each having the size: 100 x 3). Naturally, I ca...

alrededor de 6 años hace | 1 respuesta | 1

1

respuesta

Pregunta


Saving my own function to be used as MATLAB built-in functions
I would like to write a function that can be called from anywhere regardless of my current working path, just like I use integra...

alrededor de 6 años hace | 2 respuestas | 0

2

respuestas

Pregunta


Breaking down arrays into multiple smaller arrays
I want to break down an array such as this one: <</matlabcentral/answers/uploaded_files/110941/rpm.png>> into three separa...

más de 6 años hace | 1 respuesta | 0

1

respuesta

Pregunta


Skip error message in solving multiple ODEs in a loop
I am trying to solve a number of differential equations having the same form but varying parameters. E.g.: for n=1:np % np...

más de 6 años hace | 0 respuestas | 0

0

respuestas

Pregunta


Looking for empty spaces in input array from excel
I read data from an excel file with both text and numerical data, and I would like to detect the empty spaces between the rows. ...

más de 6 años hace | 1 respuesta | 0

1

respuesta

Cargar más