How can I find the solution I already failed to solve 15 times.
linearly spaced is a good hint
question is easy, but you need to use linspace(min,max,n) to generate a array.
here is the solution i didn't know what is wrong i tried many times can you help me please
You are assuming the value of some variables which should not be the case.
Also, it's best to not post solutions (or solution attempts) in comments. Questions or comments specific to a solution can be posted in a comment tied to said solution or solution attempt.
the solution is right. maybe this can be helpful.
I couldn't identify what went wrong
Read the expression in the question again carefully
I am not getting the error in my code.Though,its working in MATLAB script.please help
Anyone who has solved the problem, please help.I have developed the code according to the details and it's working well in matlab. I dont know why it is incorrect here.
Did you check the online and offline MATLAB's version?
I didn't understand why my code not working here,it worked on my Matlab but not here.
Read the problem statement again carefully.
Make a checkerboard matrix
Project Euler: Problem 5, Smallest multiple
Reverse the elements of an array
Count consecutive 0's in between values of 1
Volume of a box
Solve a System of Linear Equations
Calculate Amount of Cake Frosting
Verify Law of Large Numbers
Plot Damped Sinusoid
Find the treasures in MATLAB Central and discover how the community can help you!
Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .
You can also select a web site from the following list:
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.
Contact your local office