Paul Rogers
Followers: 0 Following: 0
Statistiques
RANG
30 701
of 295 495
RÉPUTATION
1
CONTRIBUTIONS
40 Questions
7 Réponses
ACCEPTATION DE VOS RÉPONSES
72.5%
VOTES REÇUS
1
RANG
of 20 240
RÉPUTATION
N/A
CLASSEMENT MOYEN
0.00
CONTRIBUTIONS
0 Fichier
TÉLÉCHARGEMENTS
0
ALL TIME TÉLÉCHARGEMENTS
0
RANG
of 153 991
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
Saving variables in a function
Hi everyone, I am calling this function where I get in output the time t and the matrix y: function [ dy ] = greitzer( t,y,P)...
presque 4 ans il y a | 1 réponse | 0
1
réponseQuestion
help for a loop, switching vectors and stuff
Hi everyone, I wrote this 3 codes, ciclo_1 loads z_matllab_1.mat which is a file with: phi_10_1 t_10_1 z_general_1 A...
presque 4 ans il y a | 1 réponse | 0
0
réponseQuestion
Error in a ODE in a loop (returns a vector of length 9, but the length of initial conditions vector is 2)
Hi everybody, and thanks again for the help. I run the file ciclo_1_bis, which loads from the file z_matlab_1 different vectors...
presque 4 ans il y a | 1 réponse | 0
1
réponseQuestion
Cell-Matrix, I can't extract values
I have the figure in attached and I need to extract values. I run this code: F = openfig('phi_1.fig'); ax = gca; lines = fin...
presque 4 ans il y a | 1 réponse | 0
1
réponseQuestion
storing variables after a loop (easy)
Hi, I managed to make a loop in wich I run a function. The expected outputs are: t,y(:,1),y(:,2) The problem is that at the ...
presque 4 ans il y a | 1 réponse | 0
1
réponseQuestion
ode in a for loop updating initial conditions
I created the files in attached, main and @greitzer (function). In main I call the function in @greitzer. Now I would like to...
presque 4 ans il y a | 1 réponse | 0
0
réponseQuestion
Simple For cycle (a small problem with the indexes)
I have a small problem with the last loop in the code: clear clc close all load matlab_10.mat init= 24500; %% Gas prop...
presque 4 ans il y a | 1 réponse | 0
1
réponseQuestion
Find intersection between two llines
Hi everyone, I need to find the exact intersection between the vectors m_compressor and mass_flow_corrected. clear clc clos...
presque 4 ans il y a | 1 réponse | 0
1
réponseQuestion
changing a variable in an equation
Hi, I wrote this little piece of code to evaluate mass_flow I then find out I have mass_flow, and I need to evaluate ER. Is...
presque 4 ans il y a | 1 réponse | 0
0
réponseQuestion
Plotting in a GUI
Hi, I am new to GUI, I did my first program but now I am stuck in plotting the results. I'd like to plot the results I get from...
environ 4 ans il y a | 1 réponse | 0
1
réponseproblem at 50Hz!
this is the solution I was looking for: init=[0 0]'; options= odeset('MaxStep',0.001); %maximum time-step size [t,y]=ode45(@...
environ 4 ans il y a | 0
| A accepté
Question
problem at 50Hz!
Hello everyone, I have the 3 files in attached, first run mappa_jerzak to load the parameters, then main_jerzak to call the fu...
environ 4 ans il y a | 2 réponses | 0
2
réponsesQuestion
Help in writing a function
Hi everyone, I need to write a function to solve this system: Until now all I can came up with was: function dz = control...
environ 4 ans il y a | 1 réponse | 0
1
réponseQuestion
Problem with a function
Hello everyone, I wrote this function: function dz = nocontrol(v,z,parameters) gammaT=??????????; phi_0 =0.6; psi_0 =0.685...
environ 4 ans il y a | 1 réponse | 0
1
réponseQuestion
Add a legend in a plot with multiples lines
Hi, I am having a small probllem in adding a legend, I just can't get all the names for different frequencies: clear all; cl...
environ 4 ans il y a | 2 réponses | 0
2
réponsesQuestion
from Hz to radiant
Hi everyone, this is a simple one. Is the argument coorrect in this code? gammaT_max = 0.8; gammaT_min = 0.65; f=50;%hz w=f...
environ 4 ans il y a | 1 réponse | 0
1
réponseQuestion
taking samples from a vector
I have the vector psi. It has too many items and I cannot copy and paste the values in a txt file to plot a graph in Latex. Wou...
environ 4 ans il y a | 1 réponse | 0
1
réponseQuestion
finding the error between two curves from a fig
I have a fig, the onee in attaced (example). Considering the green one the true value, how can I evaluete the error of the seco...
plus de 4 ans il y a | 1 réponse | 0
1
réponseQuestion
finding elements in a vector from another vector
I'd like to create a vector y with the positions of the elements of x in m. i.e. x=0 (first element of x) has and index of 1 i...
plus de 4 ans il y a | 2 réponses | 0
2
réponsesQuestion
extracting only real numbers (not real part) from a vector
I have these 2 vector, phi, and psi. both have complex number from the 1st to 4864th element, then from 4865th to the last real...
plus de 4 ans il y a | 1 réponse | 1
1
réponseQuestion
Paid task, let's talk about it.
Has anyone of you ever asked for help and paid? I was asked some money and a bit worry of getting scammed. Any opinions or pas...
plus de 4 ans il y a | 1 réponse | 0
1
réponseQuestion
iteration with for for a simple computation
I'd like do write this expression in a more compact and generic way, like with a for: T = c(1)*cos(0) + c(2).*cos(1.*acos((m)))...
plus de 4 ans il y a | 1 réponse | 0
1
réponsepolynomial evaluation for a simple curve.
formula = ((x.^4)*-35.4628) + ((x.^3)*39.9257) + ((x.^2)*-14.8278) + ((x.^1)*1.6022) + ((x.^0)*1.1031);
plus de 4 ans il y a | 0
| A accepté
Question
polynomial evaluation for a simple curve.
After I got the coefficent from the command: p1=polyfit(x,y,4); the p1 vector is: p1 = -35.4628 39.9257 -14.8278 1...
plus de 4 ans il y a | 1 réponse | 0
1
réponseQuestion
vector multiplied a matrix
Hi, I need this multiplication and I can't whats wrong f=c.*T where c and T are the attached files. so I expect a raw vector ...
plus de 4 ans il y a | 2 réponses | 0
2
réponsesQuestion
multiplying vectors (easy one!)
Sorry guys, an easy question: how do I evaluete this function in the interval x=[-0.2,0.8] the function is f = 2.2785*T_0(x) ...
plus de 4 ans il y a | 1 réponse | 0
1
réponseChebishev polynomials, don't know how to use "chebpoly"
Can anyone help me on how to find T_i and T_j?
plus de 4 ans il y a | 0
Chebishev polynomials, don't know how to use "chebpoly"
maybe this can help By Chebyshev points we shall mean the set of points in [−1,1] defined by xj=−cos(jπ/N), 0≤j≤N, where N≥...
plus de 4 ans il y a | 0
Question
Chebishev polynomials, don't know how to use "chebpoly"
I wrote the following code to approximate a 2 variables function: clear clc close all FlowMeasurements = chebpts(5,[-0.2,0...
plus de 4 ans il y a | 2 réponses | 0
2
réponsesQuestion
Getting coefficient from a chebfun (chebcoeffs2-chebpoly)
I worte the following code to get an apprroximation of a compressor map: clear clc close all FlowMeasurements = c...
plus de 4 ans il y a | 1 réponse | 0