Basil C.
Followers: 0 Following: 0
Like to code, but just as a hobby..
統計
All
Feeds
回答済み
How to split a 1x108 cell array into 12 1x09 cell arrays?
https://www.mathworks.com/help/matlab/math/reshaping-and-rearranging-arrays.html
How to split a 1x108 cell array into 12 1x09 cell arrays?
https://www.mathworks.com/help/matlab/math/reshaping-and-rearranging-arrays.html
3年以上 前 | 1
| 採用済み
回答済み
Determine polynomial coefficients so that it's roots lie on the unit circle
For the equation always has roots in complex field C. Let and are its complex roots, then product of roots is = b Since ...
Determine polynomial coefficients so that it's roots lie on the unit circle
For the equation always has roots in complex field C. Let and are its complex roots, then product of roots is = b Since ...
3年以上 前 | 0
回答済み
How to identify that you have multiple values in a vector?
Hints: Read about unique() function For each unique value try finding the number of times it occurs using len() and find() fu...
How to identify that you have multiple values in a vector?
Hints: Read about unique() function For each unique value try finding the number of times it occurs using len() and find() fu...
3年以上 前 | 0
回答済み
Angle difference between two bearings
To convert any angle to its principal angle function y = prin_angle(x) y=rem(x,360); % returns the remainder when dividing...
Angle difference between two bearings
To convert any angle to its principal angle function y = prin_angle(x) y=rem(x,360); % returns the remainder when dividing...
3年以上 前 | 0
回答済み
Integral not calculating. Too many input requirements and error using function.
The error occurs from the fact you are performing a double integration but are passing only one variable so MATLAB doesnt know w...
Integral not calculating. Too many input requirements and error using function.
The error occurs from the fact you are performing a double integration but are passing only one variable so MATLAB doesnt know w...
3年以上 前 | 0
| 採用済み
回答済み
Angle difference between two bearings
Read about principal angles... For the 1st case: A=-175 whose principal angle is 185 degree A - B = 185 - 175 = 10 degrees ...
Angle difference between two bearings
Read about principal angles... For the 1st case: A=-175 whose principal angle is 185 degree A - B = 185 - 175 = 10 degrees ...
3年以上 前 | 0
| 採用済み
回答済み
Matlab Math error seems can someone help me out
-0.05<-0.0020 checks if -0.05 is less than -0.002 and returns a logical 1 which means that it is true. The same logic can be ...
Matlab Math error seems can someone help me out
-0.05<-0.0020 checks if -0.05 is less than -0.002 and returns a logical 1 which means that it is true. The same logic can be ...
3年以上 前 | 0
回答済み
Delete empty cells in array; keep column / row structure
the function cellfun iterates through each cell in the cell array A. Suppose if 31 elements where to remain rather than 34, th...
Delete empty cells in array; keep column / row structure
the function cellfun iterates through each cell in the cell array A. Suppose if 31 elements where to remain rather than 34, th...
3年以上 前 | 0
回答済み
why doesn't this matlab code work? HELP!!!
The error could be in the while loop. Try using the following. while(Tfp>=Tf(end)) If you could share the error, it would be m...
why doesn't this matlab code work? HELP!!!
The error could be in the while loop. Try using the following. while(Tfp>=Tf(end)) If you could share the error, it would be m...
3年以上 前 | 0
送信済み
Chebyshev Point Spacing
Find 'n' number of points on a function which are distributed based on chebyshev spacing
3年以上 前 | ダウンロード 1 件 |
回答済み
How can i convert this R code into MATLAB
The rnorm function can be replaced by r = normrnd(0,1/sqrt(2),[1,1000]) You can read more about it: normrnd If else statemen...
How can i convert this R code into MATLAB
The rnorm function can be replaced by r = normrnd(0,1/sqrt(2),[1,1000]) You can read more about it: normrnd If else statemen...
3年以上 前 | 0
解決済み
Find out sum and carry of Binary adder
Find out sum and carry of a binary adder if previous carry is given with two bits (x and y) for addition. Examples Previo...
約4年 前
解決済み
Convert given decimal number to binary number.
Convert given decimal number to binary number. Example x=10, then answer must be 1010.
約4年 前
解決済み
Vector creation
Create a vector using square brackets going from 1 to the given value x in steps on 1. Hint: use increment.
5年弱 前
解決済み
Doubling elements in a vector
Given the vector A, return B in which all numbers in A are doubling. So for: A = [ 1 5 8 ] then B = [ 1 1 5 ...
5年弱 前
解決済み
Flip the vector from right to left
Flip the vector from right to left. Examples x=[1:5], then y=[5 4 3 2 1] x=[1 4 6], then y=[6 4 1]; Request not ...
5年弱 前
解決済み
Get the length of a given vector
Given a vector x, the output y should equal the length of x.
5年弱 前
回答済み
How do I solve an equation with a vector term?
The line eqn1 = 50000 == u./q.*(m_0-q.*t).*log(m_0-q.*t)+u.*(log(m_0)+1).*t-0.5.*g.*t.^2-((m_0.*u)./q).*log(m_0); will define...
How do I solve an equation with a vector term?
The line eqn1 = 50000 == u./q.*(m_0-q.*t).*log(m_0-q.*t)+u.*(log(m_0)+1).*t-0.5.*g.*t.^2-((m_0.*u)./q).*log(m_0); will define...
約5年 前 | 0
回答済み
integral definite, what is the code to implement it?
syms r expr= 2*pi*rho*(omega- W/2)*W*r^3; F = int(expr,a,b) ,it computes the definite integral of expr from a to b.
integral definite, what is the code to implement it?
syms r expr= 2*pi*rho*(omega- W/2)*W*r^3; F = int(expr,a,b) ,it computes the definite integral of expr from a to b.
約5年 前 | 0
解決済み
Simple equation: Annual salary
Given an hourly wage, compute an annual salary by multiplying the wage times 40 and times 50, because salary = wage x 40 hours/w...
約5年 前
解決済み
Weighted average
Given two lists of numbers, determine the weighted average. Example [1 2 3] and [10 15 20] should result in 33.333...
約5年 前
解決済み
Pizza!
Given a circular pizza with radius _z_ and thickness _a_, return the pizza's volume. [ _z_ is first input argument.] Non-scor...
約5年 前
解決済み
Fibonacci-Sum of Squares
Given the Fibonacci sequence defined by the following recursive relation, * F(n) = F(n-1) + F(n-2) * where F(1) = 1 and F(1)...
5年以上 前
解決済み
Test of Quiz
Answer the questions and write in vector. Only one answer is correct. The founder of fuzzy logic is 1a) D. Golberg 1b)...
5年以上 前