Community Profile

photo

SB


Last seen: 3달 전 2012년부터 활동

Statistics

  • Thankful Level 3
  • First Answer

배지 보기

Content Feed

보기 기준

질문


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

약 10년 전 | 답변 수: 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...

약 10년 전 | 답변 수: 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...

약 10년 전 | 답변 수: 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...

약 10년 전 | 답변 수: 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...

약 10년 전 | 답변 수: 0 | 0

0

답변

질문


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

약 10년 전 | 답변 수: 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...

약 10년 전 | 답변 수: 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...

약 10년 전 | 답변 수: 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...

약 10년 전 | 답변 수: 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...

약 10년 전 | 답변 수: 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)~...

약 10년 전 | 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...

약 10년 전 | 답변 수: 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...

약 10년 전 | 답변 수: 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...

약 10년 전 | 답변 수: 1 | 0

1

답변

질문


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

약 10년 전 | 답변 수: 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...

10년 이상 전 | 답변 수: 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...

10년 이상 전 | 답변 수: 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...

10년 이상 전 | 답변 수: 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...

10년 이상 전 | 답변 수: 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...

10년 이상 전 | 답변 수: 0 | 0

0

답변