제출됨


uiselectobject
ask the user to select an object of the specified type

대략 8년 전 | 다운로드 수: 1 |

제출됨


defaultValue - set default value for optional arguments
Assigns default value to funtion optional input variable

대략 8년 전 | 다운로드 수: 2 |

제출됨


Plot persistent vertical and horizontal line
Draws a horizontal or vertical line that persists through pans and zooms

대략 8년 전 | 다운로드 수: 1 |

질문


GUI - set a object to be selectable or not
Hi everybody. I have a GUI (programmatically created) with an axis in it. I would like to have the zoom/datatip/select comman...

8년 초과 전 | 답변 수: 1 | 0

1

답변

질문


Script vs Function with no input/output
Sometimes I have to write a function ad-hoc for a script purpose. Usually I was simply creating a new .m file containing the fun...

8년 초과 전 | 답변 수: 1 | 0

1

답변

질문


Insert NaNs (or any value) in several position of a vector
Hi i have a vector like this a=[1 2 3 5 6 7 9 10 13 14]; I would like to find where the diff is bigger than a value (le...

8년 초과 전 | 답변 수: 2 | 1

2

답변

질문


MATLAB from command line - Cannot find script in the current direcoty
Hi, I just installed Matlab on a Linux machine that doesn't have the X server. Therefore I launch matlab using the -nojvm -nod...

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

1

답변

질문


GUI / GUIDE - Ask to select a line
Is it possible to ask user to select a line during the execution of a GUI? I would like a popup to appear asking "please sele...

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

1

답변

답변 있음
finding Missing elements in a vector
This will do the trick P(~(P==1:length(P))) just for clarification P==1:length(P) returns a logical array of th...

거의 9년 전 | 0

| 수락됨

질문


Problems fitting a function with a NonlinearLeastSquares model
Hi everybody. I need to fit some experimental data on the function y=sqrt(A*((x-x0)/0.04).^-n) I understand this to...

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

0

답변

질문


axis changes even after "axis equal"
I would like to plot a line on an axis without changing the XLim and YLim values. I obviously went through the "axis equal" comm...

대략 9년 전 | 답변 수: 2 | 0

2

답변

답변 있음
MATLAB 2014b missing GUIDE elements
I found a work-around: if you cut (or delete) the panel and then *UNDO*, the panel's elements appears at their place. Pay attent...

대략 9년 전 | 1

| 수락됨

질문


Convert data in nested structure to array
Hi everybody, I have a nested structure like this one: S.a1.b1.x=1 S.a1.b1.y=2 S.a1.b1.u=3 S.a1.b1.v=4 S.a...

대략 9년 전 | 답변 수: 2 | 0

2

답변

문제를 풀었습니다


Too mean-spirited
Find the mean of each consecutive pair of numbers in the input row vector. For example, x=[1 2 3] ----> y = [1.5 2.5] x=[1...

대략 10년 전

문제를 풀었습니다


The Hitchhiker's Guide to MATLAB
Output logical "true" if the input is the answer to life, the universe and everything. Otherwise, output logical "false".

대략 10년 전

문제를 풀었습니다


Triangle Numbers
Triangle numbers are the sums of successive integers. So 6 is a triangle number because 6 = 1 + 2 + 3 which can be displa...

대략 10년 전

문제를 풀었습니다


Column Removal
Remove the nth column from input matrix A and return the resulting matrix in output B. So if A = [1 2 3; 4 5 6]; and ...

대략 10년 전

문제를 풀었습니다


Find the sum of all the numbers of the input vector
Find the sum of all the numbers of the input vector x. Examples: Input x = [1 2 3 5] Output y is 11 Input x ...

대략 10년 전

문제를 풀었습니다


Add two numbers
Given a and b, return the sum a+b in c.

대략 10년 전

문제를 풀었습니다


Determine whether a vector is monotonically increasing
Return true if the elements of the input vector increase monotonically (i.e. each element is larger than the previous). Return f...

대략 10년 전

문제를 풀었습니다


Is my wife right?
Regardless of input, output the string 'yes'.

대략 10년 전

문제를 풀었습니다


Determine if input is odd
Given the input n, return true if n is odd or false if n is even.

대략 10년 전

문제를 풀었습니다


Make the vector [1 2 3 4 5 6 7 8 9 10]
In MATLAB, you create a vector by enclosing the elements in square brackets like so: x = [1 2 3 4] Commas are optional, s...

대략 10년 전

문제를 풀었습니다


Times 2 - START HERE
Try out this test problem first. Given the variable x as your input, multiply it by two and put the result in y. Examples:...

대략 10년 전

질문


GUIDE "disconnected" from editor
Hi everybody I have a perfectly functioning GUIDE that i would like to duplicate since i need both it and a slightly differen...

10년 초과 전 | 답변 수: 1 | 0

1

답변

질문


Importdata fails to import large files
Hi everybody. I've have a bunch of large files as the following one: # x 1 2 3 4 ... # y 5 6 7 8 ... # ...

10년 초과 전 | 답변 수: 1 | 0

1

답변

질문


Extract numeric fields from a long log file
Hi. I have a long log file made of many blocks like the following one Time = 19.419 Courant Number mean: 0.112358...

10년 초과 전 | 답변 수: 1 | 0

1

답변

질문


Function inside GUI don't save modifies to "handles"
Hi everybody, I'm trying to do my first GUI, but I'm having some problems. Excuse me if my question is a bit stupid. When I c...

대략 11년 전 | 답변 수: 2 | 0

2

답변

질문


Import data with textscan that is non-periodic
Hi, I need to import some datas from a file that is structured as follow: Time1 (X11 Y11 Z11) (X12 Y12 Z12) ... (X1n ...

대략 11년 전 | 답변 수: 2 | 0

2

답변

질문


Create a 2D/3D mesh to patch a distribution of points [URGENT]
Hi, I've a group of points, each with his X,Y,Z coordinates and a P value. These are distributed on a 3D surface (lets think ...

대략 11년 전 | 답변 수: 0 | 0

0

답변

더 보기