Statistik
18 Fragen
0 Antworten
RANG
38.183
of 300.338
REPUTATION
1
BEITRÄGE
18 Fragen
0 Antworten
ANTWORTZUSTIMMUNG
5.56%
ERHALTENE STIMMEN
1
RANG
of 20.922
REPUTATION
N/A
DURCHSCHNITTLICHE BEWERTUNG
0.00
BEITRÄGE
0 Dateien
DOWNLOADS
0
ALL TIME DOWNLOADS
0
RANG
of 168.149
BEITRÄGE
0 Probleme
0 Lösungen
PUNKTESTAND
0
ANZAHL DER ABZEICHEN
0
BEITRÄGE
0 Beiträge
BEITRÄGE
0 Öffentlich Kanäle
DURCHSCHNITTLICHE BEWERTUNG
BEITRÄGE
0 Highlights
DURCHSCHNITTLICHE ANZAHL DER LIKES
Feeds
Frage
can someone debug this code/function ?
function f = lion(x,A,r1,r2) y = A\r1; z = A\r2; f = (y(1)*x.^2 + y(2)*x).*cos(z(1)*x + z(2)); return; A, r1 a...
etwa 9 Jahre vor | 0 Antworten | 0
0
AntwortenFrage
Can someone help me implement a function that takes in a date string that has the form 'm/d/y' that produces the full name of the date string ex: 'march 3,1956'
I kinda dont know where to start on this one.
etwa 12 Jahre vor | 1 Antwort | 0
1
AntwortFrage
Can help me create a selection sort function? I understand how it works but I cant come up with a code that works.
here is what i have function y = Mekuluselect(x) n = length(x); C = 0; S = 0; for k = 1:n C = C + 1; m = k; ...
etwa 12 Jahre vor | 1 Antwort | 0
1
AntwortFrage
I am trying to write a program that compares the selection sort function, the bubble sort and insertion sort. I am struggling on the selection sort I know how it works but I cant come up with a code.
At the end I have to write a program that compares the three sorting methods I am using extra output C(number of comparisons) an...
etwa 12 Jahre vor | 0 Antworten | 0
0
AntwortenFrage
Can someone help implement the perfect shuffle function?
function outString = perfectMShuffle(inString,m) % This function shuffles the characters in the inString by picking 1st, ...
etwa 12 Jahre vor | 1 Antwort | 0
1
AntwortFrage
My goal here is to decode an encrypted message using perfect-k-shuffles, the encryption key is given
here is what I have so far, I dont know how I am supposed to decode the message encodedString = 'aasfu aic talputte bal...
etwa 12 Jahre vor | 0 Antworten | 0
0
AntwortenFrage
I am trying to implement a selection sort function
what I got is a little too messy I want a more concise code for selection sort function [y,TotalC,TotalS] = selectSort(x) ...
etwa 12 Jahre vor | 0 Antworten | 0
0
AntwortenFrage
I am trying to decode an encrypted message
Here are the files that I have to use. % First file encodedString = 'aasfu aic talputte balde'; encryptionKey = [...
etwa 12 Jahre vor | 1 Antwort | 0
1
AntwortFrage
I am trying to plot the value of the function P(x,y) along the line segment that connects (0,0) and (6,4)
P(x,y) = 100*exp(-.4*( (x-1)^2 + 0.7*(y-3)^2))+ 80*exp(-.2*(2*(x-5)^5+1.5*(y-1)^2)); so I am going to use the plot(x.y) functio...
etwa 12 Jahre vor | 1 Antwort | 0
1
AntwortFrage
I am trying to implement this function so that it returns the sum of all the values in the m-by-n matrix A without using the buit in function sum
function s = totalsum(A) %A is an m-by-n matrix %s is the sum of all the values in A I dont know where to start.
etwa 12 Jahre vor | 1 Antwort | 0
1
AntwortFrage
i am trying to write a script that estimates the probability for which two dice have the same values when three dices are rolled.
I know for sure that we will use rand() to generate multiple throws but how do I compute the probability
etwa 12 Jahre vor | 0 Antworten | 0
0
AntwortenFrage
what is the probability that when three dice are rolled, at least two of the dice have the same value? what is the probability that the value of the third dice roll is strictly between the values of the first two rolls? use simulation to estimate
I know for sure that I am going to use rand() to simulate the throws but how do I compute the probilities?
etwa 12 Jahre vor | 3 Antworten | 0
3
AntwortenFrage
I am trying to draw a tennis court with a green court and white lines
How do i pull that off using functions??
etwa 12 Jahre vor | 1 Antwort | 1
1
AntwortFrage
I am supposed to implement the following function without loops. function L = polyline(u,v) % u and v are column (n+1)-vectors with u(1) = u(n+1) and v(1) = v(n+1). % L is the perimeter of the polygon with veritices (u(1),v(1)),...(u(n),v(n))
I am supposed to use vectorized arithmetic. of z is a length-5 vector then alpha = sum(abs(z(1:4)-z(2:5))). Here is what I go...
etwa 12 Jahre vor | 1 Antwort | 0
1
AntwortFrage
How do I plot the number of iterations of a function using Semilogx?
I have no clue how to do this
etwa 12 Jahre vor | 1 Antwort | 0
1
AntwortFrage
I am trying to write a script that generates a list of 100 integers selected randomly from the set {-20,-10,0,10,20,30}
How do I use the randomness funtion in this problem??
etwa 12 Jahre vor | 3 Antworten | 0
3
AntwortenFrage
Can someone help me? I am trying to print a 8-by-8 checkboard with red and black tiles
I know that am gonna use two nested for loops.
etwa 12 Jahre vor | 2 Antworten | 0
2
AntwortenFrage
Does someone know how to print a square onto the command window using for loops????
for 1:5 fprintf('*') % am stuck right there
etwa 12 Jahre vor | 3 Antworten | 0
