The problem statement clearly states to use mldivide (\)
How can the leading solution be cos(theta)+sin(theta)*[-1;1]
My code is working perfectly on my desktop Matlab version, but here it's not accepting and displaying as incorrect..anyone help me out!
The syms function is in a toolbox—Cody does not currently support any toolbox functions.
whats wrong with this problem, it runs perfectly on my matlab.
Developers guys, you should fix this problem
function x = solve_lin(theta)
A=[cos(theta) sin(theta); -sin(theta) cos(theta)];
Find state names that start with the letter N
Given an unsigned integer x, find the largest y by rearranging the bits in x
Program an exclusive OR operation with logical operators
Circular Primes (based on Project Euler, problem 35)
Find MPG of Lightest Cars
Convert from Fahrenheit to Celsius
Verify Law of Large Numbers
Calculate a 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