Community Profile

photo

SB


Last seen: 1 year ago Active since 2012

Statistics

  • Thankful Level 3
  • First Answer

View badges

Content Feed

View by

Question


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...

11 years ago | 2 answers | 0

2

answers

Question


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...

11 years ago | 1 answer | 0

1

answer

Question


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...

11 years ago | 2 answers | 0

2

answers

Question


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...

11 years ago | 0 answers | 0

0

answers

Question


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...

11 years ago | 0 answers | 0

0

answers

Question


Function Intersection using Newton's Method
Hi everyone, I'm trying to write a function that fi nds a point at which two functions f(x) and g(x) intersect, i.e., f(x) = ...

11 years ago | 1 answer | 0

1

answer

Question


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...

11 years ago | 1 answer | 0

1

answer

Question


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...

11 years ago | 0 answers | 0

0

answers

Question


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...

11 years ago | 5 answers | 0

5

answers

Question


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...

11 years ago | 1 answer | 0

1

answer

Answered
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)~...

11 years ago | 0

Question


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...

11 years ago | 0 answers | 0

0

answers

Question


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...

11 years ago | 1 answer | 0

1

answer

Question


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...

11 years ago | 2 answers | 0

2

answers

Question


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...

11 years ago | 3 answers | 0

3

answers

Question


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...

11 years ago | 2 answers | 0

2

answers

Question


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...

11 years ago | 1 answer | 0

1

answer

Question


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...

11 years ago | 2 answers | 0

2

answers

Question


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...

11 years ago | 1 answer | 0

1

answer

Question


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...

11 years ago | 0 answers | 0

0

answers