문제를 풀었습니다


Matlab Basics - Rounding I
Write a script to round x DOWN to the next lowest integer: e.g. x = 2.3 --> x = 2 also: x = 2.7 --> x = 2

11년 초과 전

문제를 풀었습니다


Matlab Basics - Create a row vector
Write a Matlab script to create a row vector of 10 consecutive numbers x = [1 2 3 4 5 6 7 8 9 10]

11년 초과 전

답변 있음
I need help creating a function for taking an array and reversing it and i have to use a for loop. I have looked online but i really dont know what i am doing?
There are built-in functions for this, such as *fliplr* and *rot90*. However, if you want to use a loop, think about the proc...

11년 초과 전 | 0

답변 있음
Difference Between a Number and Character Array
These links might be helpful for understanding data types in MATLAB, as well as classes in general: * <http://www.mathworks.c...

11년 초과 전 | 0

답변 있음
When zooming, 3D plotted data exceeds uipanel extent despite axes being clipped
While I'm able to replicate this in previous MATLAB versions R2012a, R2012b, R2014a as well as some releases prior to 2011, this...

11년 초과 전 | 0

| 수락됨

답변 있음
Most Efficient Spreadsheet File
If Image Analyst's solution doesn't work for you, you might try *csvread*. Assuming you're able to save your data in .csv format...

거의 12년 전 | 0

질문


Obtaining corresponding pixel indices in perspective-corrected image
I am attempting to warp an image taken from an off-center camera to produce an image that resembles the viewfield were it taken ...

거의 12년 전 | 답변 수: 1 | 0

1

답변

문제를 풀었습니다


Generate this matrix
Generate the following matrix. n = 2; out = [-4 -3 -2 -1 0 -3 -2 -1 0 1 -...

거의 12년 전

문제를 풀었습니다


Integer or Float?
Test an input to see whether it is an integer or a floating point number. If it is an integer return 1 for 'true'. Otherwise ret...

거의 12년 전

문제를 풀었습니다


Area of a disk
Find the area of a disk or circle. x= radius of the disk.

거의 12년 전

답변 있음
How to reverse a number?
x = 1234; s = num2str(x) - '0'; xr = polyval(s(end:-1:1),10)

거의 12년 전 | 2

답변 있음
User Defined input in form of a table
You can either import tabular data from excel using *xlsread* or create a GUI that contains a *uitable* with MATLAB. Creating yo...

거의 12년 전 | 0

| 수락됨

답변 있음
Counting element length in cells.
Look into <http://www.mathworks.com/help/matlab/ref/cellfun.html *cellfun*> >> A = {'Piggy'; 'gue7352892'; 'hdufhe~jf'}; ...

거의 12년 전 | 9

문제를 풀었습니다


Change Vector Value
Change the element of the vector with respect to the element of the direction vector If the element of the direction vecto...

거의 12년 전

문제를 풀었습니다


Error handling
If the input is a negative number, generate an error. Otherwise, return the number.

거의 12년 전

답변 있음
switching pixel with defined colour in a matrix
If I is your image: I = imread('peppers.png'); R = I(:,:,1); G = I(:,:,2); B = I(:,:,3); Idx = reshape(randperm...

거의 12년 전 | 1

| 수락됨

답변 있음
Random number generation after time interval
I'm assuming this program involves a loop. If so, is each iteration quick enough that it's sufficient to simply check how much t...

거의 12년 전 | 0

답변 있음
Is it possible to make graphs like this in MATLAB?
Have you tried *boxplot*? http://www.mathworks.com/help/stats/boxplot.html

거의 12년 전 | 0

문제를 풀었습니다


Is My Wife Wrong?
Answer the question. (see also <http://www.mathworks.com/matlabcentral/cody/problems/149-is-my-wife-right Problem 149: Is my ...

거의 12년 전

문제를 풀었습니다


If-then-else
Complete the function below such that if the value of x is in the range 10 to 14, inclusive, the value 18 is assigned to y. Oth...

거의 12년 전

문제를 풀었습니다


counting for loop
Complete the function below using a for loop to count from 3 to N by 2. For example, if N is 10, count 3, 5, 7, 9 and stop. Fo...

거의 12년 전

문제를 풀었습니다


Solving Quadratic Equations (Version 1)
Quadratic equations have the form: ax^2 + bx + c = 0. Example: x^2 + 3x + 2 = 0, where a = 1, b = 3, and c = 2. The equation has...

거의 12년 전

문제를 풀었습니다


Wind Chill Computation
On a windy day, a temperature of 15 degrees may feel colder, perhaps 7 degrees. The formula below calculates the "wind chill," i...

거의 12년 전

답변 있음
How to store user-generated text within a loop?
In order to store multiple strings, likely of different lengths, you will need to use a cell array. <http://www.mathworks.com/he...

거의 12년 전 | 0

| 수락됨

답변 있음
How can i get neighbors from 3D array but in the same order as the matrix ?
One way to do it: A = rand(5,5,5); B = false(size(A)); B(3,3,3) = true; %Point around which you want to find neighbor...

거의 12년 전 | 0

답변 있음
how to ellipse fitting to connected object?
help regionprops This allows you to return the orientation, major axis length, and minor axis length of binary data with r...

거의 12년 전 | 0

| 수락됨

답변 있음
How to draw a two y axis and one x axis graph . The Two y axis should arrange in top and bottom and x axis should position in left side of the plot
If *plotyy* doesn't work for your purposes, you can create two axes with the same position, then set the 'Color' property of the...

거의 12년 전 | 0

답변 있음
code to form a matrix by selecting some elements in another matrix
Look into the *randi* function.

거의 12년 전 | 0

| 수락됨

문제를 풀었습니다


What is Sum Of all elements of Matrix
Given the matrix x, return the sum of all elements of matrix. Example: Input x = [ 1 2 0 0 0 0 6 9 3 3 ] ...

대략 12년 전

문제를 풀었습니다


Sum of series VI
What is the sum of the following sequence: Σk⋅k! for k=1...n for different n?

대략 12년 전

더 보기