Solving a system of equations on Maple [closed] - maple

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions must demonstrate a minimal understanding of the problem being solved. Tell us what you've tried to do, why it didn't work, and how it should work. See also: Stack Overflow question checklist
Closed 9 years ago.
Improve this question
solve({4*a = 443*a1/(3.14)+a0, 7*a = 20*a1/(3.14)+a0, 105*a = 543*a1/(3.14)+a0}, {a, a1.a0});
Could someone tell me why MAPLE doens't compute this solution?
It doesn't give anything.
Thank you.

You have a typo. The second argument should be {a, a1, a0} not {a,a1.a0}
solve({4*a = 443*a1/(3.14)+a0, 7*a = 20*a1/(3.14)+a0, 105*a = 543*a1/(3.14)+a0}, {a, a1, a0});

Related

Sum Matlab from 0 to 10000 on function [closed]

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 2 years ago.
Improve this question
syms k
S1 = symsum(1/((2*k)+1)^2,k,0,1000)
The result is this
59039372973827482202940226722672826425297321906316082356858983822169051832268260251807527611479190413293513875429587706186073872918905490907386679472102966658686481651660967093301512141946288248492833396616338323741632085379508599235923841007033467883638349122388806376761808189104503262045883240287482992169819848342303098664924237976221795758421152603069387903705445513260596627332283139648508194960733619500093010571517561429904500013876585156927070119332440687162376758374919870699278800835146651318465663183182583101377584105366558079836223068786457324044080570317649838092783113721959819118571747662368360095513856052974454509201490370810246175872510881504730747209788019551000695511879992198550955686739483474761130248789609061549535677663474218135370195381615899214931316241080337028498241295985409686314819267606796712968280842464845294917738460317179001491697993067157425958639996885239616893392960282441289069600101430806922004624472226999315951355963789249300352610312601262349650287009275097201871774652260892220551489305368617001974326978428202443548923140478853569492070442010110016068635424791389124439271253578545895132216218268847919848655110002938693346760862649668457282775860633067627110099340660770861888592018701206483696615682617062811616008107086256694453990688805738127607846586853460003073465075155412119309273843527076321601670400373937698518621100907936577387919537592519265365346619712200304996044229704602647674114176291753575322917531444831938509001759491229575945273985556769609288625450013634760596805884195325794441020339210402987018058377081579351119704065092777310976461961832919116412535470810011337916688085616171422473409544885864650134157327448050685723673514545806331081542320899927
It is a number in this form a/b
Why is this happening??
Do you know how to do this in octave too?
k = (0:1000);
k_sum = sum(1./((2*k)+1).^2);
disp(k_sum)
It's interesting that you jumped straight to using syms when the basic matlab functions work perfectly well for this problem. Why is that?

What is argmin function described in below equation? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about programming within the scope defined in the help center.
Closed 6 years ago.
Improve this question
What the function argmin do here? Please explain or give any hint regarding it. I am needed to implement this function on MATLAB. Is there any direct command avaiable there?
argmin is the argument (k) that minimizes the function value (sigma_ij), so the argmin will be 1, 2, 3, or 4

What is wrong with [a b] = randi() [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Closed 8 years ago.
This question appears to be off-topic because it lacks sufficient information to diagnose the problem. Describe your problem in more detail or include a minimal example in the question itself.
Questions asking for code must demonstrate a minimal understanding of the problem being solved. Include attempted solutions, why they didn't work, and the expected results. See also: Stack Overflow question checklist
Improve this question
I'm having trouble with this command
[a b]=randi(5,1,2)
matlab tells me
Too many output arguments.
Can anyone tell me what did I do wrong?
The reason is obvious here as there should be only one output for randi().
r = randi(imax,n)
r = randi(imax,m,n)
r = randi(imax,[m,n])
r = randi(imax,p1,...,pn)
r = randi(imax,[p1,...,pn])
r = randi(imax)
r = randi(imax,size(A))
r = randi([imin,imax],...)
r = randi(..., classname)
Check out its documentation for more info.
As #hero mentioned, you should just get a vector as output of randi.
If you really must get it to different letters, here is how it could be done:
c = num2cell(randi(5,1,2));
[a, b] = deal(c{:});
Needless to say, this is not something you should usually want.

access to cell MATLAB [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking for code must demonstrate a minimal understanding of the problem being solved. Include attempted solutions, why they didn't work, and the expected results. See also: Stack Overflow question checklist
Closed 9 years ago.
Improve this question
for m=1:numel(myFolder)
end
for x = 1:numel(myFiles) %
for j=1:numel(myFolder)
eachFile{x}{j} = dir(myFiles{x}{j});
end
end
any idea?
This should work
for x = 1:numel(myFiles)
for y = 1:numel(myFiles{x})
eachFile{x}{j} = dir(myFiles{x}{y});
end
end

How can you two color in plot matlab? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking for code must demonstrate a minimal understanding of the problem being solved. Include attempted solutions, why they didn't work, and the expected results. See also: Stack Overflow question checklist
Closed 9 years ago.
Improve this question
I want to make a script to show me a picture like this:
https://www.dropbox.com/s/zzx2chi0jbclf66/Figura.jpg
The code is:
a = load('file.txt');
x = a(:,1);
y = a(:,4);
area(x,y)
But not like making out two colors, I think bruh command is used but not sure?
This submission on the File Exchange might also help:
http://www.mathworks.co.uk/matlabcentral/fileexchange/7255-areashade