Community Profile

photo

vidushi Chaudhary


Last seen: 2 months ago
5 total contributions since 2020

vidushi Chaudhary's Badges

  • Thankful Level 1

View details...

Contributions in
View by

Question


What is wrong with my code.It's not producing correct figure.The axis should run from -1 to 1,but it's not!
Problem 24. Write a function called make_square_waves that takes two positive integers as input arguments (it does not have to ...

2 months ago | 0 answers | 0

0

answers

Question


What is wrong with my code.I want to connect stars(*)by straight line,but it's printing only points,not line!
function draw_constellations set(gcf,'color','m'); set(gca,'color','m'); axis([0 100 0 100]) hold on; ...

2 months ago | 1 answer | 0

1

answer

10

answers

Question


Please find the error
%Write a function called max_sum that takes v as a row vector of numbers, & n,a postive integer as inputs.The function needs to ...

3 months ago | 1 answer | 0

1

answer

Question


How can I overcome the error "variable admit must be of data type logical instead of double"..I have to return logical values true or false using the function below.what is wrong with this?
function admit=eligible(v,q) avg=(v+q)/2; if avg>=92 ...%% && v>88 ... %% && q>88 %% admit=1; else admit=0...

3 months ago | 1 answer | 0

1

answer