photo

johnmurdock


自 2019 起处于活动状态

Followers: 0   Following: 0

统计学

  • Thankful Level 1

查看徽章

Feeds

排序方式:

提问


How would I ask the user to input another option for cash flow and interest rate, then compare the two or three additional options?
clc; clear; close all; numberYears= input('Planning Horizon Length\n--> '); cashflows = zeros(numberYears, 1); for k = 1...

5 years 前 | 0 个回答 | 0

0

个回答

提问


I keep getting this error in my code
Code: y = 0.2; t = 0; h = 0.01; tn = 0.2; kfv = [30 20 40]; for Kidx = 1 : length(kfv) kf = kfv(Kidx); %we assu...

5 years 前 | 0 个回答 | 0

0

个回答

提问


How do I prompt a user to input a number of values for their future inputts?
So right now, the code I have makes the user input up to an infinite number of values for the cash flow matrix and the intrest r...

5 years 前 | 1 个回答 | 0

1

个回答

提问


How do I add additional values for k into the function?
clear; clc; close('all'); y = 0.2; t = 0; h = 0.01; tn = 0.2; [t, y] = Euler(t, y, h, tn); function [t, y] = Euler(t0, ...

5 years 前 | 1 个回答 | 0

1

个回答

提问


How do I output to the command window where the sum of the bars on the graph equal zero along the x axis
clc; clear; close all; A= -15000; A(2:6)= 3200; A(7:9)= [2133.333, 1066.667, 1000]; n=length(A); for i =1:n ...

5 years 前 | 1 个回答 | 0

1

个回答

提问


How can I solve a truss system using a system of linear equations in a function?
I am confused on how to use the bisection method to solve for F with AC being 4000N. Bisection method example: function [ ...

5 years 前 | 0 个回答 | 0

0

个回答

提问


How do I add a curve fitted plot to this code?
clc clear close all xls=xlsread("Exam2_Data.xls"); t=xls(:,1); y=xls(:,2); SST=sum((y-mean(y)).^2); for i=1:3 ...

5 years 前 | 1 个回答 | 0

1

个回答

提问


Curve fit the given data set with an appropriate polynomial function
clear clc A=xlsread('Data.xls'); t=A(:,1); y=A(:,2); SST=sum((y-mean(y)).^2); for i=1:3 fprintf('For %d order fit\n\n',i)...

5 years 前 | 0 个回答 | 0

0

个回答