Statistics
RANK
132,431
of 300,592
REPUTATION
0
CONTRIBUTIONS
0 Questions
7 Answers
ANSWER ACCEPTANCE
0.00%
VOTES RECEIVED
0
RANK
of 21,027
REPUTATION
N/A
AVERAGE RATING
0.00
CONTRIBUTIONS
0 Files
DOWNLOADS
0
ALL TIME DOWNLOADS
0
CONTRIBUTIONS
0 Posts
CONTRIBUTIONS
0 Public Channels
AVERAGE RATING
CONTRIBUTIONS
0 Highlights
AVERAGE NO. OF LIKES
Feeds
Solved
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)...
16 days ago
Solved
Fibonacci sequence
Calculate the nth Fibonacci number. Given n, return f where f = fib(n) and f(1) = 1, f(2) = 1, f(3) = 2, ... Examples: Input...
16 days ago
Solved
Flip the main diagonal of a matrix
Given a n x n matrix, M, flip its main diagonal. Example: >> M=magic(5); >> flipDiagonal(M) 9 24 1 ...
16 days ago
Solved
Back to basics 21 - Matrix replicating
Covering some basic topics I haven't seen elsewhere on Cody. Given an input matrix, generate an output matrix that consists o...
16 days ago
Solved
Remove NaN ?
input -> matrix (n*m) with at least one element equal to NaN; output -> matrix(p*m), the same matrix where we deleted the enti...
16 days ago
The Matlab OPC UA Client does not connect to the OPC UA Server (OPC CoDeSys V3)
Hi all, I encountered a similar problem. I wanted to connect to an OPCUA server that was running on a different machine. Connec...
4 months ago | 0
Connect to OPC UA server with OPC Toolbox
Hi all, I encountered a similar problem. I wanted to connect to an OPCUA server that was running on a different machine. Connec...
4 months ago | 0
Is it possible to orient the legend's symbols vertically instead of horizontally?
Hi, yes it is possible. Just change legend([h1, h2], 'sin(x)', 'cos(x)'); to legend([h1, h2], 'sin(x)', 'cos(x)','Orie...
8 months ago | 0
Matlab execuatable with OPC-UA
Hi, firtst of all you need the Industrial communication Toolbox, to use all the OPCUA functionality. Second you need Compile...
8 months ago | 0
Getting Nodes from OPCUA server and read them
Hi, I got the same problem when I was trying to crawl automatically a server and gather all wanted information about the exis...
8 months ago | 0
Solved
Calculate area of sector
A=function(r,seta) r is radius of sector, seta is angle of sector, and A is its area. Area of sector A is defined as 0.5*(r^2...
10 months ago
Solved
Convert given decimal number to binary number.
Convert given decimal number to binary number. Example x=10, then answer must be 1010.
1 year ago
Solved
Find Closest Constant
Given a number x, return the value that is closest to x from this list of constants: 0, 1, , e, , (also known as ). For exampl...
3 years ago
Solved
Calculating Student Grades
The matrix grades contains raw grades for 7 students who took your course. Each row represents a different student. The first 7 ...
3 years ago
Solved
Dog Statistics
The vectors ht and wt contains the heights and weights of 20 golden retrievers. In some cases, it was not possible to make both ...
3 years ago
Solved
Calculate the mean of each half of a matrix
Given a matrix with an even number of columns, n, return a 1-by-2 row vector where the first element is the mean of all the elem...
3 years ago
Solved
Create an arrow matrix
An arrow matrix is a square matrix that contains ones on the diagonal, the last column, and last row. ...
3 years ago
Solved
Generate this matrix
Generate the following matrix. n = 2; out = [-4 -3 -2 -1 0 -3 -2 -1 0 1 -...
3 years ago
Solved
Find the minimum of the column-maximums of a matrix
Given a matrix A, find the maximum value of each column, then return the smallest of those maximum values (ie return the minimum...
3 years ago
Solved
Matrix Quadrants
Write a function that takes N as the input, and outputs a matrix whose upper-left (NxN) quadrant contains all ones, the lower-ri...
3 years ago
Solved
String Array Basics, Part 2: Convert String Array to Cell Array; No Missing Values
<http://www.mathworks.com/help/matlab/characters-and-strings.html String array> and cell array are two types of containers for s...
3 years ago
Solved
Find the longest sequence of 1's in a binary sequence.
Given a string such as s = '011110010000000100010111' find the length of the longest string of consecutive 1's. In this examp...
3 years ago
Connect matlab to OPC UA server
Hello together, I had a similar problem. It seems that maybe at the moment Matlab is only able to connect to OPC servers runn...
3 years ago | 0
Smallest interval in array
Hello Pesach, when I understood it correctly please find in the following a first approach. Just read in the table, get the spe...
3 years ago | 0
Solved
Remove the air bubbles
Given a matrix a, return a matrix b in which all the zeros have "bubbled" to the top. That is, any zeros in a given column shoul...
4 years ago
Solved
Make a checkerboard matrix
Given an integer n, make an n-by-n matrix made up of alternating ones and zeros as shown below. The a(1,1) should be 1. Examp...
4 years ago








