Community Profile

photo

juan Ortiz


Last seen: presque 4 ans il y a Actif depuis 2018

Followers: 0   Following: 0

Statistiques

Feeds

Afficher par

Question


How can solve this first order ODE using ODE45? I used the function but I don't get what I want
dt/dx = 1+4.5(1-X)/ 3.5(1-X) tspan= [0 10]; x0 = 0; fun = (1+4.5*(1-x)/3.5*(1-x)); [t,x] = ode45(@(t,x)(1+4.5*(1-x)/3.5*(...

environ 4 ans il y a | 1 réponse | 0

0

réponse

Question


I have 10 data points for 5 different trial, and when I would like to get a best fit line using polyfit and errorbars on data points. However, I get a matrix demenssion error. How can I account for this to execute these commands
Hwater = 20.574; IPH = 1./(Hwater + data.heights); %plot (IPH(1:5),data.flowrates(1:5),'ob') plot (IPH(1:5), data.flowrates(1...

environ 5 ans il y a | 1 réponse | 0

0

réponse

Question


How can I add a a best fit line, a scatter plot data? having trouble
% using the excel data [FileName, PathName] = uigetfile('*.xlsx','Select Excel files to analyze:','MultiSelect','off'); [stat...

environ 5 ans il y a | 2 réponses | 0

2

réponses

Question


How can I get a vector from a structure ? Having trouble pulling out out the vector of structure.
% using the excel data [FileName, PathName] = uigetfile('*.xlsx','Select Excel files to analyze:','MultiSelect','off'); [stat...

environ 5 ans il y a | 1 réponse | 0

1

réponse

Question


Having trouble using the struct function, to structure my data set.
% using the excel data [FileName, PathName] = uigetfile('*.xlsx','Select Excel files to analyze:','MultiSelect','off'); [stat...

environ 5 ans il y a | 1 réponse | 0

1

réponse

Question


How can I use the struct function to struct my data set. And be able to perform a forloop . As show in my code
%% Loading Data % using the excel data [FileName, PathName] = uigetfile('*.xlsx','Select Excel files to analyze:','MultiSelec...

environ 5 ans il y a | 1 réponse | 0

1

réponse

Question


how do I use the factorial function in a for loop
I have the followig formula W = N!/h!(N-h)! how do I write a loop when 30, and h =30 for h=1:30 W(h)= factorial(30)/factori...

plus de 5 ans il y a | 1 réponse | 0

1

réponse

Question


How can I make this fucntion loop into a vector of three different "tempexperimental" (temperatures). and to loop to a rage of densities," pexperimental" form .55:.885
function [ X, proof] = TrueProof(pexperimental, tempexperimental) TTB1 = xlsread('TTB_Table_1_digitized.xlsx');%,'B7:CW...

environ 6 ans il y a | 1 réponse | 0

0

réponse

Question


How can I make the dimensions to agree
IR = find(abs(TTB1(:,1)-CR)<0.1, 1, 'first');%interpulated row -> (IR) for proof IC = find(abs(TTB1(1,:)-TR)<...

environ 6 ans il y a | 1 réponse | 0

0

réponse

Question


Why is the interp1 function is returning all zeros? I try to interpolate excell data.
able1 = xlsread ('TTB_Table_1_digitized'); Table6 = xlsread('TTB_Table_6_digitized'); Proof = Table6 (:,1); SGair = T...

environ 6 ans il y a | 1 réponse | 0

0

réponse

Question


How can I fix the error, or what does it mean "Subscript indices must either be real positive integers or logicals."?
Densityex = [ 0.974 0.938 0.948 0.932 0.893 0.865 0.863 0.844]; Tempex= [ 24 25 25 25.6 25.2 24.2 24.1 24.1]; alpha = 25*10^...

environ 6 ans il y a | 1 réponse | 0

1

réponse

Question


How can I fix the error, or what does it mean "Subscript indices must either be real positive integers or logicals."?
Densityex = [ 0.974 0.938 0.948 0.932 0.893 0.865 0.863 0.844]; Tempex= [ 24 25 25 25.6 25.2 24.2 24.1 24.1]; alpha = 25*10^...

environ 6 ans il y a | 1 réponse | 0

0

réponse