photo

Subramanian Mahadevan


Attivo dal 2016

Followers: 0   Following: 0

Statistica

  • Thankful Level 1

Visualizza badge

Feeds

Visto da

Domanda


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...

circa 8 anni fa | 7 risposte | 0

7

risposte

Domanda


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...

circa 8 anni fa | 0 risposte | 0

0

risposte

Domanda


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...

circa 8 anni fa | 1 risposta | 0

1

risposta

Domanda


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;...

circa 8 anni fa | 2 risposte | 0

2

risposte