![photo](/responsive_image/150/150/0/0/0/cache/matlabcentral/profiles/6816605_1556832485780.png)
johnmurdock
Followers: 0 Following: 0
Statistics
8 Questions
0 Answers
RANK
245,597
of 297,016
REPUTATION
0
CONTRIBUTIONS
8 Questions
0 Answers
ANSWER ACCEPTANCE
12.5%
VOTES RECEIVED
0
RANK
of 20,419
REPUTATION
N/A
AVERAGE RATING
0.00
CONTRIBUTIONS
0 Files
DOWNLOADS
0
ALL TIME DOWNLOADS
0
RANK
of 157,725
CONTRIBUTIONS
0 Problems
0 Solutions
SCORE
0
NUMBER OF BADGES
0
CONTRIBUTIONS
0 Posts
CONTRIBUTIONS
0 Public Channels
AVERAGE RATING
CONTRIBUTIONS
0 Highlights
AVERAGE NO. OF LIKES
Feeds
Question
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...
6 years ago | 0 answers | 0
0
answersQuestion
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...
6 years ago | 0 answers | 0
0
answersQuestion
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...
6 years ago | 1 answer | 0
1
answerQuestion
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, ...
6 years ago | 1 answer | 0
1
answerQuestion
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 ...
6 years ago | 1 answer | 0
1
answerQuestion
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 [ ...
6 years ago | 0 answers | 0
0
answersQuestion
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 ...
6 years ago | 1 answer | 0
1
answerQuestion
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)...
6 years ago | 0 answers | 0