Question

. Create a Matlab script that will load the file finc.mat and create a structure from...

. Create a Matlab script that will load the file finc.mat and create a structure from the appropriate with the following fields: • Company (string) • First_Name (string) • Last_Name (string) • Address (string) • Credit_Card_Number (Integer) • Account_Balance (Real) • Credit_Score (Real) • Transaction (Array) To the right of the field names above are the data type in parentheses. Your code should calculate and display the following: • The descriptive statistics discussed in class of the Credit Scores for each customer. • The Credit Score that is the demarcation of the top 10% of credit scores. • The full name, company, address, account balance, and credit score of the individual with the lowest credit score

Homework Answers

Answer #1
function [output]=dataconv(input,src_sig)
%
% dataconv
%
% Convolves the data stored in the input matrix with the selected source
% signature.
%
% IMPORTANT:
% PRELOAD DATA IN WORKSPACE
%
% Variable description:
% - input = input matrix, preloaded in workspace,  call without
%   hyphens nor .mat extension
% - src__sig = selected source signature, already resampled and centered, preloaded in workspace, call without
%   hyphens nor .mat. If .asc, there is no need to preload in workspace, replace 
%   src_filename=load('filename.asc'), i.e.: output=dataconv(data,load('filename.asc'))
% 
%
% EXAMPLE:
% test=dataconv(src6p,PGSsig1);;
%% PARAMETERS
[nt,ntrc]=size(input);
%% FULL CONVOLUTION
output=zeros(nt,ntrc);
for i=1:ntrc;
    output(:,i)=conv(input(:,i),src_sig,'same');
end
%% ZERO-OFFSET TRACE DISPLAY
input_trc=input(:,1);
output_trc=output(:,1);
dt=0.002;
t=(0:nt-1)*dt;
figure
subplot(3,1,1), plot(t,input_trc), grid on, xlim([0.4 2]); title('Green´s function data'), xlabel('Time [s]'); ylabel('Amplitude') 
subplot(3,1,2), plot(src_sig), grid on; title('Source signature:Resampled and Time-Shifted'),xlabel('Time [s]');ylabel('Amplitude')
subplot(3,1,3), plot(t,output_trc), grid on, xlim([0.4 2]); title('Convolution'),xlabel('Time [s]');ylabel('Amplitude')
axes;
h = title(['Zero-Offset Trace']);
set(gca,'Visible','off');
set(h,'Visible','on','Position',[0.5 1.05 0]);
Know the answer?
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for?
Ask your own homework help question
Similar Questions
You are working for a company that is responsible for determining the winner of a prestigious...
You are working for a company that is responsible for determining the winner of a prestigious international event, Men’s Synchronized Swimming. Scoring is done by eleven (11) international judges. They each submit a score in the range from 0 to 100. The highest and lowest scores are not counted. The remaining nine (9) scores are averaged and the median value is also determined. The participating team with the highest average score wins. In case of a tie, the highest median...
PYTHON : Create a Email Address Parser (* Please do make comments*) Often times, you may...
PYTHON : Create a Email Address Parser (* Please do make comments*) Often times, you may be given a list of raw email addresses and be asked to generate meaningful information from such a list. This project involves parsing such a list and generating names and summary information from that list. The script, eparser.py, should: Open the file specified as the first argument to the script (see below) Read the file one line at a time (i.e., for line in...
Sign In INNOVATION Deep Change: How Operational Innovation Can Transform Your Company by Michael Hammer From...
Sign In INNOVATION Deep Change: How Operational Innovation Can Transform Your Company by Michael Hammer From the April 2004 Issue Save Share 8.95 In 1991, Progressive Insurance, an automobile insurer based in Mayfield Village, Ohio, had approximately $1.3 billion in sales. By 2002, that figure had grown to $9.5 billion. What fashionable strategies did Progressive employ to achieve sevenfold growth in just over a decade? Was it positioned in a high-growth industry? Hardly. Auto insurance is a mature, 100-year-old industry...
Please read the article and answear about questions. Determining the Value of the Business After you...
Please read the article and answear about questions. Determining the Value of the Business After you have completed a thorough and exacting investigation, you need to analyze all the infor- mation you have gathered. This is the time to consult with your business, financial, and legal advis- ers to arrive at an estimate of the value of the business. Outside advisers are impartial and are more likely to see the bad things about the business than are you. You should...
Delta airlines case study Global strategy. Describe the current global strategy and provide evidence about how...
Delta airlines case study Global strategy. Describe the current global strategy and provide evidence about how the firms resources incompetencies support the given pressures regarding costs and local responsiveness. Describe entry modes have they usually used, and whether they are appropriate for the given strategy. Any key issues in their global strategy? casestudy: Atlanta, June 17, 2014. Sea of Delta employees and their families swarmed between food trucks, amusement park booths, and entertainment venues that were scattered throughout what would...