
Capulus_love
Statistics
RANK
166,920
of 277,930
REPUTATION
0
CONTRIBUTIONS
3 Questions
3 Answers
ANSWER ACCEPTANCE
66.67%
VOTES RECEIVED
0
RANK
of 18,801
REPUTATION
N/A
AVERAGE RATING
0.00
CONTRIBUTIONS
0 Files
DOWNLOADS
0
ALL TIME DOWNLOADS
0
RANK
of 129,143
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
Content Feed
Question
How do I change string to double without changing number of zero under decimal point?
a = '24.5';aa = "24.5"; b = str2double(aa) d = double(a) d = double(aa) c = cast(aa,'double') c = cast(a,'double') i know ...
3 years ago | 1 answer | 0
1
answerQuestion
I have a question about using table
load patients whos Then the result shows Name Size Bytes Class Attributes A...
3 years ago | 1 answer | 0
1
answerQuestion
Code for 'Reverse a Vector'
v = [1 2 3 4 5]; w = reversal(v) %----------------------------------------------------------- function w = reversal(v) ...
3 years ago | 5 answers | 0
5
answersWrite a function called get_distance that accepts two character vector inputs representing the names of two cities. The function returns the distance between them as an output argument called distance. For example, the call get_distance('Seattle, WA'
function distance = get_distance(a,b) [~,~,excel] = xlsread('Distances.xlsx'); col = excel(1,:); row = excel(:,1)...
3 years ago | 0
Write a function max_sum that takes v a row vector of numbers & n,a positive integer as inputs.The function needs to find n consecutive elements of v whose sum is largest possible.It returns summa & index of first element of n consecutive integers.
%why second problem doesn't run? function [summa,index] = max_sum(v,n) s = size(v); b = 0; c = 0; index = 0; ...
3 years ago | 0
Write a function called valid_date that takes three positive integer scalar inputs year, month, day. If these three represent a valid date, return a logical true, otherwise false. The name of the output argument is valid. If any of the inputs is not
function x = valid_date(year,month,day) if nargin == 3 if isscalar(year) && isscalar(month) && isscalar(day) if ...
3 years ago | 0