Feeds
提问
Convolution without any Built-in Commands
Hey guys, I'm trying to learn how convolution works without any built in fft or conv commands, and I'm not quite sure how to...
12 years 前 | 2 个回答 | 0
2
个回答提问
Relative Frequency Histograms and Probability Density Functions
Hi, I'm writing a function which simulates rolling 10 dice 5000 times. In the function,I find the sum of values of the 10 di...
12 years 前 | 1 个回答 | 0
1
个回答提问
Multiple Dice Rolls Help
So basically, I have to write a function that simulates the rolling of a given number of six sided dice a given number of tim...
12 years 前 | 2 个回答 | 0
2
个回答提问
CSV Read Issues and Structural Arrays-Help me debug the CSV portion
Basically, I have a csv file with data about test results (the first row is a header) and it has two columns. I have to find...
12 years 前 | 0 个回答 | 0
0
个回答提问
Bisection Method Issues/Help
Hi people, I'm having a bit of an issue with my Bisection Method Algorithm, which I understand conceptually, but it doesn't qui...
12 years 前 | 0 个回答 | 0
0
个回答提问
Function Intersection using Newton's Method
Hi everyone, I'm trying to write a function that finds a point at which two functions f(x) and g(x) intersect, i.e., f(x) = ...
12 years 前 | 1 个回答 | 0
1
个回答提问
Newton's Method Issues
Hi, I'm having a little trouble with my newton's method code. One of my biggest issues is that I'm not able to create an out...
12 years 前 | 1 个回答 | 0
1
个回答提问
Fibonacci Times (Iter vs Recursive) Log Log Plot
I'm trying to graph one log-log plot of the execution time against increasing input values for an iterative fibonacci sequenc...
12 years 前 | 0 个回答 | 0
0
个回答提问
Tower of Hanoi Problem
So, I tried to implement code that solves the Tower of Hanoi Problem (which I had previously used in python), and it sort of wor...
12 years 前 | 5 个回答 | 0
5
个回答提问
Fibonacci Sequence Recursion, Help!
So, I have to recursively generate the entire fibonacci sequence, and while I can get individual terms recursively, I'm unable t...
12 years 前 | 1 个回答 | 0
1
个回答已回答
machine precision problem in code
Hey, it should be something like this: % x = abs(x); %in case of negative numbers y = 0; n=0 while (floor(x*10^n)~...
machine precision problem in code
Hey, it should be something like this: % x = abs(x); %in case of negative numbers y = 0; n=0 while (floor(x*10^n)~...
12 years 前 | 0
提问
Absolute Error and Relative Error, Help please!!
So I've found one approximation of ln(x) to be 2* the sum of 1/(2n+1)*((x-1)/(x+1))^(2n+1) and I need to find the absolute and r...
12 years 前 | 0 个回答 | 0
0
个回答提问
Converting decimal to binary, help!!
I'm trying to write a function that converts a string containing a number from decimal to binary (this number may include decima...
12 years 前 | 1 个回答 | 0
1
个回答提问
Find the number of digits after the decimal point in a number, please help!
Say you have a number, x, and you want to find the number of digits after the decimal point. I know that in matlab, one way to d...
12 years 前 | 2 个回答 | 0
2
个回答提问
Converting binary to decimal and vice versa, please help!!
I'm having trouble converting strings that represent binary numbers to decimal and vice versa. The main issue is that I'm unsu...
12 years 前 | 3 个回答 | 0
3
个回答提问
Writing my own polyfit function
How would one write their own polyfit function using only mldivide and for loops? I have a basic idea: function [A,e] = My...
12 years 前 | 2 个回答 | 0
2
个回答提问
Weighted Least Squares, Need Help!!
A question asks to determine write a function to solve the weighted least squares problem, without using advanced functions (lim...
12 years 前 | 1 个回答 | 0
1
个回答提问
Least Squares Regression, Help me find the error in my code!
Suppose the curve you're fitting can follow the form y = an*x^n+ an-1*x^(n-1)+...+ a1x + a0 x and y are two column vectors...
12 years 前 | 2 个回答 | 0
2
个回答提问
Regression with functions handles-Help please!
Say that y = a1*f1(x)+ a2* f2(x) + ...+ an*fn(x) where x and y are column vectors, f1(x),....,fn(x) are function handles a...
12 years 前 | 1 个回答 | 0
1
个回答提问
How to graph the projections of some surface on the XZ and YZ planes using plot3()
I've already attempted to do this and was wondering if someone could help me with my code: function[]=plot10() x=linspace(-p...
12 years 前 | 0 个回答 | 0