Community Profile

photo

Manav Divekar


Last seen: 2 months ago Active since 2021

Statistics

  • Thankful Level 2

View badges

Content Feed

View by

Question


how can I extract these cell array from
how can i write a function for thi

2 months ago | 1 answer | 0

1

answer

Question


what changes can be done in the code
i have to return values of diff between drug and placebo for given exel either for systolic or diastolic http://sacan.biomed.d...

2 months ago | 1 answer | 0

1

answer

Question


what changes can be made in the code?
if input : mycumsum( [ 3 2 10 ] ) and i want is the vector sum of sum of 1st and second and so on eg [ 3 5 15 ] function [out] ...

2 months ago | 1 answer | 0

1

answer

Question


how can do get this
If a vector

2 months ago | 1 answer | 0

1

answer

Question


why is my code not working for a particular set of input?
If i give the input, it is working femaleldlchdrisk([struct('age',22,'ldl',148,'hdl',20,'systolic',120,'diastolic',94,'hasdiabe...

2 months ago | 1 answer | 0

1

answer

Question


what changes should I make if my input is struct
function [total] = femaleldlchdrisk(age,ldl,hdl,systolic,diastolic,hasdiabetes,issmoker) agepts = 0; ptssum = 0; if age <= ...

2 months ago | 1 answer | 0

1

answer

Question


how can I do
can anyone help me how should i start with muscle fatigue analysis from the following data

2 months ago | 0 answers | 0

0

answers

Question


what mistake I am making?
I am trying to rectify emg signal from the given text file. %% % Fatigue Data impFatigueA = importdata('Fatigue_A.txt'); im...

2 months ago | 1 answer | 0

1

answer

Question


What changes is required ?
My excel contains multiple sheets. I am trying to return the weight from one sheet for corresponding input of name variable whic...

2 months ago | 1 answer | 0

1

answer

Question


what changes would you recommend
I am trying to do muscle fatigue analysis this is how far i have made. What changes i should make so that my code works. for th...

2 months ago | 0 answers | 0

0

answers

Question


where in my code I am thinking wrong?
I am trying to read data from the excel file, and return the age. function [age] = xls_ageofperson (excelname, name) [data ...

2 months ago | 1 answer | 0

1

answer

Question


I am trying to do muscle fatigue analysis, what can be done changes in the code.
with the following code i a trying to do muscle activation and fatigue analysis base on the fft values. can someone help me wi...

2 months ago | 0 answers | 0

0

answers

Question


how can I use a loop instead of cellfun
function [out] = motifsupport (s,n) % Returns indicies of found targets. f1 = strfind(s,n); % Returns all the not matching st...

2 months ago | 1 answer | 0

1

answer

Question


I need help in the code. what am I doing wrong?
I am writing a function to display host name from the url. This function should return only hostname without the port number e...

2 months ago | 2 answers | 0

2

answers

Question


why am I getting error?
i am trying to write a code without cell2struct function to get female names between age 30 and 40 from following input >> disp...

2 months ago | 1 answer | 0

1

answer

Question


what wrong I am doing in the code?
i have to filter out female above age 30 and less than 40 fron the give data base 'name', {'mary','john','anna','paul','elaina'...

2 months ago | 1 answer | 0

1

answer

Question


what changes are required in the code?
i have a data base with name gender and age not necessarily in the same order, some data base is gender name age. for example ...

2 months ago | 1 answer | 0

1

answer

Question


how can I write a function
i have a data base with name gender and age not necessarily in the same order, some data base is gender name age. for example ...

2 months ago | 1 answer | 0

1

answer

Question


Need help with the code.
i want to swaps characters of s as specified by the indices present in the pairs variable. pairs is a 2-column matrix, where on ...

3 months ago | 1 answer | 0

1

answer

Question


What changes are needed in the code?
i want to swaps characters of s as specified by the indices present in the pairs variable. pairs is a 2-column matrix, where on ...

3 months ago | 1 answer | 0

1

answer

Question


how can we use for loop to get index of matrix and letters ?
If i have a matrix [1 2] or [2 1] and word 'orange' how can i use position mentioned in matrix to extract the letters in that po...

3 months ago | 1 answer | 0

1

answer

Question


what correction is required in the code?
I am trying to perform 2*2 + 2*5 + 5*8, for [2 2 5 8] vector which is product of consicutive and sum of all. without using sum()...

3 months ago | 2 answers | 0

2

answers

Question


How can I solve this problem using for loop?
for the given vector [2 2 5 8], without using sum() and diff() how can i perform 2*2 + 2*5 + 5*8 = 54. Using for loop. here the ...

3 months ago | 1 answer | 0

1

answer

Question


What mistake I am making?
I have write a for loop to get the average of positive multiples of 7 from [ 2 14 28 -7 5 ], with using sum function. functi...

3 months ago | 2 answers | 0

2

answers

Question


I not able to understand what type error I am making in the while loop
I want to use babyloniansqrt to work if Error value should be grater than threshold and this will update the x and E value, usin...

3 months ago | 1 answer | 0

1

answer

Question


What Mistake I am making in the code
I want to randomly pick two numbers from [39 25 91 71] swap it. and use while loop so that it swaps continuely until the vector ...

3 months ago | 2 answers | 0

2

answers

Question


Hello I need help in this question
function [out] = sqrt_bywhile(x, inc) sqrt = 0; if ~exist('inc','var') inc = 0.01; end inc1 = 0; while sqrt <= x sqrt =...

3 months ago | 1 answer | 0

1

answer

Question


I want Estimate log to the base 10 value using 'x' number such that 10^estimated value is equal to or just exceeding x.
function [out] = log10_bywhile(x, inc) esmt = 0; if ~exist('inc','var') inc = 0.01; end inc1 = 0; while esmt <=x esmt =...

3 months ago | 1 answer | 0

1

answer

Question


I want to print only logical answer as shown in the example
function [out] = issortedvector(v) x = sort(v); if x == v else end Example issortedvector( [ -5 -3 10 20 25 29 ] ...

3 months ago | 1 answer | 0

1

answer

Question


How can I display only the fprintf without the error shown and using "function"
function [category] = iqcategory (score) %by Manav Divekar, 2021-10-28 %if the given score is greater the 130 if score >= ...

3 months ago | 2 answers | 0

2

answers

Load more