Statistiques
RANG
38 571
of 295 467
RÉPUTATION
1
CONTRIBUTIONS
28 Questions
2 Réponses
ACCEPTATION DE VOS RÉPONSES
53.57%
VOTES REÇUS
1
RANG
of 20 234
RÉPUTATION
N/A
CLASSEMENT MOYEN
0.00
CONTRIBUTIONS
0 Fichier
TÉLÉCHARGEMENTS
0
ALL TIME TÉLÉCHARGEMENTS
0
RANG
of 153 912
CONTRIBUTIONS
0 Problèmes
0 Solutions
SCORE
0
NOMBRE DE BADGES
0
CONTRIBUTIONS
0 Publications
CONTRIBUTIONS
0 Public Chaîne
CLASSEMENT MOYEN
CONTRIBUTIONS
0 Point fort
NOMBRE MOYEN DE LIKES
Feeds
Question
Index out of bounds
Folks, What is wrong with this simple code? Fo=100; wn=20; k=2000; m=5; w=30; x0=.1; x0_dot=.1; f_...
plus de 10 ans il y a | 2 réponses | 0
2
réponsesQuestion
Simple Undamped Forced Vibration Problem
I am trying to replicate a solution in Matlab for the following problem x¨+k*x/m=Fo*sin*wo*t/m using 2 first order linear...
plus de 10 ans il y a | 1 réponse | 0
1
réponseQuestion
Assign dotted lineto individual sets of data on a line graph
Hi Folks, The following code plots some lines with different colours automatically. Essentially 'T_Bulk_Calc' and 'T_Oil'...
plus de 10 ans il y a | 1 réponse | 0
1
réponseQuestion
Assigning excel data to an array via a counter
Folks, Here is the code i use to assign data from the 2nd and 6th column in a spreadsheet to an array for i=1:1:2 ...
plus de 10 ans il y a | 1 réponse | 0
1
réponseQuestion
Assign excel data to multi-dimensional array
Hi I want to assign data repetitively in an excel spreadsheet to a n*n*5 dimensional array, ie 5 pages. % User inputs...
plus de 10 ans il y a | 1 réponse | 0
1
réponseQuestion
Use of Initial Condition for a First Order Finite Difference Scheme
Hi Folks, I am studying some matlab code to understand finite difference schemes of first order. I found this bit of script o...
plus de 10 ans il y a | 1 réponse | 0
0
réponseQuestion
Simple Counter Problem using (i+1)
Hi Folks, I have an excel 1 column 906 rows which i call into this script. I want to get the difference between the i+1 row a...
plus de 10 ans il y a | 2 réponses | 0
2
réponsesQuestion
2nd Order Diff Equation
Hi Folks, I get the following error when I attempt to run this bit of code "Maximum recursion limit of 500 reached. Use ...
plus de 10 ans il y a | 1 réponse | 0
1
réponseQuestion
Interp2 - Inconsistent Size for X and Y inputs - Scattered Data
Folks, I have measured results of 2 independent variables Z=f(X,Y) each of which have inconsistent spacing I wish to inter...
environ 11 ans il y a | 1 réponse | 0
1
réponseAdding three cells element wise using cellfun
Hi folks, Adding the cell arrays of the same dimension works after. Thanks for your help.
environ 11 ans il y a | 0
Question
Adding three cells element wise using cellfun
Folks, I have three cell arrays of the form 1*6 each containing an 18*9 double. I have attempted to add each corresponding el...
environ 11 ans il y a | 3 réponses | 0
3
réponsesQuestion
cell2mat with 1* 1 cell array
Folks, I have A{ii} which is a cell array 1*1 containing 18*9 matrix. I atttempt to convert to a matrix using B=cell2mat(A)...
environ 11 ans il y a | 1 réponse | 0
1
réponseQuestion
A(I) = B, the number of elements in B and I must be the same.
Hi Folks, I have nu_1= 18*9*6 matrix where each page has the same numeric value, ie page 1 all elements =25, page 2 all eleme...
environ 11 ans il y a | 1 réponse | 0
1
réponseQuestion
Indexing an 6 Dimensional array inside a for loop
Folks, I am trying to call in the nth page of a 6D array from page 1 to 6. I am using the following code which is not loopin...
environ 11 ans il y a | 1 réponse | 0
1
réponseQuestion
Copy matrix into N Dimensional array
Folks, How do I copy a 18*9 matrix 6 times to create a 6-D array? I have tried R1=repmat(R1_1, [: : 6]) I have al...
environ 11 ans il y a | 1 réponse | 0
1
réponseQuestion
Using .data{1,i} in a for loop
Hi Folks, I have a 1*12 cell array which contains twelve 1*1 struct arrays. Each of which subsequently contains a matrix and ...
environ 11 ans il y a | 2 réponses | 0
2
réponsesQuestion
Importing multiple non numeric .txt files and assigning file name as variable
Hi Folks, I am trying to import multiple non numeric .txt files and assign each file name as variable. Here is some code but ...
environ 11 ans il y a | 1 réponse | 0
1
réponseQuestion
How to enter multiple values for one input prompt
Folks, I have a function which requires the user to enter 4 values. At the moment, the user has to give a value then enter, r...
environ 11 ans il y a | 2 réponses | 1
2
réponsesQuestion
How to select a matrix, row and column vector from within a matrix
Folks, I have a 25 * 60 matrix How do I select 1) row vector from element (1,2) to (1,60) 2) column vector from (2,1)...
environ 11 ans il y a | 1 réponse | 0
1
réponseQuestion
Importing 2 .txt files within the one import command
Hi Folks, How do I import 2 different .txt files containing numbers using the one import command as a function. Here is my c...
environ 11 ans il y a | 1 réponse | 0
0
réponseQuestion
Nested functions online examples
Hi Folks, Does anyone know of good online sources for examples of nested functions? Thanks in advanced B
environ 11 ans il y a | 1 réponse | 0
1
réponseQuestion
Surface fitting to data
Folks, I have a custom equation with z=a*x*y which I want to fit to some experimental data. The challenge is that 1) The f...
environ 11 ans il y a | 2 réponses | 0
2
réponsesplotyy with 4 outputs
Hi David, That works, thanks. Where do I define the colour and legend for the variable on the 2nd y axis? Thanks
environ 11 ans il y a | 0
Question
plotyy with 4 outputs
Folks, How do I plot 4 outputs on one 2d plot but with one of the outputs on the 2nd y axis? The plotyy command requires 4 v...
environ 11 ans il y a | 2 réponses | 0
2
réponsesQuestion
Show solution of 3 simultaneous linear equations
Hi folks, I have some code that plots the intersection of 3 planes representing 3 linear equations. Is there some way of impr...
environ 11 ans il y a | 1 réponse | 0
0
réponseQuestion
When to transpose an m*n matrix extracted from a multi dimensional matrix for use with surf command
Folks, I have an equation which is a fn of 5 variables. This results in an 5-Dimensional matrix Output=f(a,b,c,d,e) when i de...
environ 11 ans il y a | 1 réponse | 0
0
réponseQuestion
Expand a column vector to a matrix without using for loop
Hi Folks, Is there a built in command to expand a (n*1) to an (n*n) matrix without filling the matrix using a for loop? All ...
environ 11 ans il y a | 2 réponses | 0
2
réponsesQuestion
Is it possible to use surf function calling parameters from a 4-D matrix?
I have an equation which is a fn of four variables. So i created a 4-D matrix to calculate an output, ie Output=f(a,b,c,d) insid...
environ 11 ans il y a | 1 réponse | 0
1
réponseQuestion
plotting a 2nd figure
Hi Folks, I have a figure of surfaces which plots the first 2 parameters A and B against T. I wish to plot a 2nd figure of s...
environ 11 ans il y a | 1 réponse | 0
1
réponseQuestion
Using for loop to iterate through matrix of parameters
Hi Folks, I have produced the following code to calculate G_sl a 3*3 matrix where parameters S_1 and S_2 are 3*1 column vecto...
environ 11 ans il y a | 1 réponse | 0