Subramanian Mahadevan
自 2016 起处于活动状态
Followers: 0 Following: 0
Feeds
提问
c0 and x are scalars, c - vector, and p - scalar. If c is [ ], then p = c0. If c is a scalar, then p = c0 + c*x . Else, p =
function [p] = poly_val(c0,c,x) N = length(c); n=1:1:N; if (N<=1) if(isempty(c)) p=c0; else p= c0...
8 years 前 | 7 个回答 | 0
7
个回答提问
hello people. How do I compute the difference in dates of the same year without using datenum or any other built in function
I need to compute the difference in days between any two dates of the same year.How do I go about it, without using built in fun...
8 years 前 | 0 个回答 | 0
0
个回答提问
Could someone please point out the error in my code?
Write a function called income that takes two row vectors of the same length as input arguments. The first vector, rate contains...
8 years 前 | 1 个回答 | 0
1
个回答提问
how can i genaralise this code for any m*n matrix?{the original question is to sum all the elements in the perimeter of a given matrix}?
This was my code;which works good for a 3*3 matrix. function sum1 = peri_sum(A); q=0;r=0;s=0;t=0;u=0;v=0;w=0; A=[1:3;...
8 years 前 | 2 个回答 | 0