メインコンテンツ

Results for


Image Analyst
Image Analyst
Last activity 2023 年 10 月 16 日

Albert Einstein uses MATLAB
Image Analyst
Image Analyst
Last activity 2023 年 10 月 24 日

Dynamic Field Name shaming
Image Analyst
Image Analyst
Last activity 2023 年 10 月 16 日

We told you "NO!!!"
Image Analyst
Image Analyst
Last activity 2023 年 10 月 16 日

I climbed the L-Shaped Peak
Image Analyst
Image Analyst
Last activity 2023 年 10 月 16 日

Choose your weapon
Image Analyst
Image Analyst
Last activity 2023 年 10 月 16 日

ChatGPT has Fallen.
MATLAB vs. Python
Image Analyst
Image Analyst
Last activity 2023 年 10 月 16 日

Caution. This is MATLAB.
Image Analyst
Image Analyst
Last activity 2023 年 10 月 16 日

MATLAB is the best programming language
Image Analyst
Image Analyst
Last activity 2023 年 10 月 16 日

I love the smell of debugged MATLAB code in the morning. Smells like...Victory!
Shore
Shore
Last activity 2023 年 10 月 16 日

Halloween Analysis of Many Aspects of Halloween Headquarters and Effects on USA
(Note to Chistopher: I used a simple ESP8266 generating random numbers for fields 1 thru 7, (0 to 100, 4000, 127, 30, 45, 200,000, 50,000) and 0 to 1 for field 8. And a couple of real sensor inputs.
Chen Lin
Chen Lin
Last activity 2023 年 10 月 16 日

I'm in a community conference in Boston today and see what snacks we get! The organizer said it's a coincidence, but it's definitly a good idea to have them in our MathWorks community meetings.
Image Analyst
Image Analyst
Last activity 2023 年 10 月 3 日

(Sorry - it should be 2023b by now.)
Mike Croucher
Mike Croucher
Last activity 2024 年 5 月 10 日

Calling all students! New to MATLAB or need helpful resources? Check out our MATLAB GitHub for Students repository! Find MATLAB examples, videos, cheat sheets, and more!
Visit the repository here: MATLAB GitHub for Students
Imagine x is a large vector and you want the smallest 10 elements. How might you do it?
Rena Berman
Rena Berman
Last activity 2023 年 10 月 11 日

To solve the puzzle, first unscramble each of the words on the left. Then rearrange the letters in the yellow shaded boxes to complete the sentence on the right.
If you enjoyed this puzzle let me know with a like or in the comments below and I'll post more of them. Please don't post your answer, or any hints, and spoil it for those who come across this puzzle after you!! If you want to check your answer, you can messge me your guess through the link on my profile card (click on my name, Rena Berman, above and then on the envelope icon in the top right corner of the profile card that appears).
Thats the task:
Given a square cell array:
x = {'01', '56'; '234', '789'};
return a single character array:
y = '0123456789'
I wrote a code that passes Test 1 and 2 and one that passes Test 3 but I'm searching a condition so that the code for Test 3 runs when the cell array only contains letters and the one for Test 1 and 2 in every other case. Can somebody help me?
This is my code:
y = []
[a,b]=size(x)
%%TEST 3
delimiter=zeros(1,a)
delimiter(end)=1
delimiter=repmat(delimiter,1,b)
delimiter(end)=''
delimiter=string(delimiter)
y=[]
for i=1:a*b
y = string([y x(i)])
end
y=join(y,delimiter)
y=erase(y,'0')
y=regexprep(y,'1',' ')
%%TEST 1+2
for i=1:a*b
y = string([y x(i)])
y=join(y)
end
y=erase(y,' ' )
Mayla
Mayla
Last activity 2023 年 9 月 13 日

That's the question: Given four different positive numbers, a, b, c and d, provided in increasing order: a < b < c < d, find if any three of them comprise sides of a right-angled triangle. Return true if they do, otherwise return false .
I wrote this code but it doesn't pass test 7. I don't really understand why it isn't working. Can somebody help me?
function flag = isTherePythagoreanTriple(a, b, c, d)
a2=a^2
b2=b^2
c2=c^2
d2=d^2
format shortG
if a2+b2==c2
flag=true
else if a2+b2==d2
flag=true
else if a2+c2==d2
flag=true
else if c2+b2==d2
flag=true
else flag=false
end
end
end
end
end