Professional Interests: Rheology, Polymer Processing, Rubber Mechanics, Polymer Physics, Micromechanics, Finite Difference Method, Finite Element Method

Question

BVP4C is returning x and y output vecotrs that are different in length from the original x vector. Is there a way to fix the length of x ans y?

I would like to solve a set of BVPs with the starting x values (second line of the code below) in a vector of length 50, but whe...

alrededor de 1 mes ago | 0 answers | 0

Question

Padé approximant for a numerical data array

I am looking for the Padé approximant of a data array such as y. y cannot be given explicitly and is generated by another routin...

2 meses ago | 2 answers | 0

Question

Outer Bounds of a Dataset

I have a set of xy data and I want to find the outer bounds of this set so that when I plot the data and connect these outer bou...

2 meses ago | 1 answer | 0

Question

Third Order Boundary Value Problem (BVP) with Boundary Coditions only in Terms of Derivatives

I need to solve the boundary value problem (related to flow of fluids in conical ducts): Y''' + 1 - Y'^2 = 0 with all the thre...

3 meses ago | 0 answers | 0

Question

Solving nonlinear implicit differential equation of the form F(t,y(t),y'(t),y''(t), y'''(t), ...)=0 in MATLAB using ode15i

Is it possible to solve implicit differential equations of the form F(t,y(t),y'(t),y''(t), ..., y(n))=0 in Matlab? The specific ...

4 meses ago | 1 answer | 0

Question

Change Edit Filed text from external function

I am trying to design a GUI console, named e.g. MainConsole where input values are entered and then sent to an external function...

4 meses ago | 1 answer | 0

Question

Call to function with multiple outputs

Considering the function with multiple outputs of different array sizes [y1 y2 y3 y4]=f(x) sometimes inside a program I just n...

4 meses ago | 1 answer | 0

Question

Stepsize in integral2 or quad2d

I would like to solve the double integral: for i=1:length(z) fz= @(P,Q) sin(P).*(sqrt(1+z(i).*cos(Q).*(sin(2*P)+z(i).*cos(...

4 meses ago | 1 answer | 0

Question

Compare positions of strings in two cell arrays having the same string elements

I have two cell arrays F1 & F2 having the same elements, but the positions of elements in F2 have been shuffled: F1 = {'ET...

5 meses ago | 1 answer | 0

Question

Cover shapes in background with filled shapes in foreground

I would like to draw shapes using the polyshape function, e.g. by writing: x0=[0 0 200 200]; y0=[10 0 0 10] SquareSh...

6 meses ago | 0 answers | 0

Question

Implicit Boundary Value Problem

Is there a way in Matlab to use the bvp4c or bvp5c functions to solve a system consisting of boundary value and algebraic equati...

7 meses ago | 1 answer | 0

Question

Passing parameters in boundary value problem using BVP4C

For a system of boundary value problems I need to pass a parameter as a coefficient. Let's assume that I have defined the proble...

10 meses ago | 2 answers | 0

Question

Reading numerical data from text file

I have a large number of text files containing numerical data of the form: -1.1389E+00 7.5269E-05 | -1.6667E-01 0.0...

alrededor de 1 año ago | 1 answer | 0

Question

Replacing specified elements of a matrix with elements of a vector

Imagine a 6X6 zero matrix Z=zeros(6,6). I have a vector v=[1 2 3 4] and I want to send the elements of this vector to specified ...

alrededor de 1 año ago | 1 answer | 0

Question

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

más de 1 año ago | 1 answer | 0

Question

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

más de 1 año ago | 1 answer | 0

Question

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

más de 1 año ago | 1 answer | 0

Question

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

más de 1 año ago | 1 answer | 0

Question

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

más de 1 año ago | 0 answers | 0

Question

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

más de 1 año ago | 2 answers | 0

Question

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

más de 1 año ago | 3 answers | 0

Question

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 1 año ago | 2 answers | 0

Question

Converting 2D Array to 3D

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

más de 1 año ago | 1 answer | 0

Question

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 1 año ago | 2 answers | 0

Answered

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

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 1 año ago | 0

Question

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 1 año ago | 2 answers | 0

Question

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 1 año ago | 1 answer | 0

Question

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

casi 2 años ago | 1 answer | 0

Question

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

casi 2 años ago | 1 answer | 0

Question

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

casi 2 años ago | 1 answer | 0