Community Profile juan Ortiz

Last seen: mehr als ein Jahr ago Active since 2018

Content Feed

View by

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

fast 2 Jahre ago | 0 answers | 0

0

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

fast 3 Jahre ago | 0 answers | 0

0

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

fast 3 Jahre ago | 2 answers | 0

2

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

fast 3 Jahre ago | 1 answer | 0

1

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

fast 3 Jahre ago | 1 answer | 0

1

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

fast 3 Jahre ago | 1 answer | 0

1

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

etwa 3 Jahre ago | 1 answer | 0

1

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

fast 4 Jahre ago | 0 answers | 0

0

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

fast 4 Jahre ago | 0 answers | 0

0

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

fast 4 Jahre ago | 0 answers | 0

0

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

fast 4 Jahre ago | 1 answer | 0