回答済み
GUI creation
Respond to button-press callback: 1. Ask for input 2. Process input 3. Display output These are the functions for (1...

14年弱 前 | 0

| 採用済み

回答済み
error in evalfis..
Why don't you want to convert it to double? It's not like it's going to be huge. You don't have to replace your uint8 image ...

14年弱 前 | 0

| 採用済み

回答済み
Performance issue (CPU usage)
You have over 90GB of RAM???? Do you mean disk space? How much RAM do you actually have? I would say if you're running a 32...

14年弱 前 | 0

回答済み
MATLAB crash
Maximum limit of what? Memory? What are you doing with MatLab at the time it crashes? If your whole system crashes, the effec...

14年弱 前 | 0

回答済み
Flag command !!
You are never changing flag, so you are recursing indefinitely. Perhaps you meant to toggle the flag: else if (flag ==1)...

14年弱 前 | 0

| 採用済み

回答済み
how to build an interface between matlab and another software
One of the easiest to implement and most compatible ways to interface between different applications is to use files for communi...

14年弱 前 | 2

| 採用済み

回答済み
linking a graph to a pushbutton
You can use |subplot()| when you create your 5 graphs, and store the returned handles for each set of axes in your GUI. Then, w...

14年弱 前 | 0

回答済み
Avoiding loops for functions with arrays
Do you want a 1x10 matrix containing random values from M? There are a number of ways to do this. Using randint, you need to...

14年弱 前 | 0

回答済み
How to get exact position of text with respect to figure row, column in Matlab
I'm not sure about the general case, but here you could exploit the fact that your image bounds are not white: [y,x] = find...

14年弱 前 | 0

回答済み
dir function and importing data
In the loop, index _Direcname_ using curly braces instead of brackets: Direcname{i} = Direc(i).name; This is because you...

14年弱 前 | 0

回答済み
Executing two callbacks concurrently
Okay, assuming for a start that you can concurrently update a figure from two threads, you could try timers. The theory here ...

14年弱 前 | 0

回答済み
Can MATLAB tell me which gpu device is the one connected to the display?
Well, I couldn't help myself. I had to try it. Here's the result of running an EnumDisplayDevices test on my machine: Dev...

14年弱 前 | 0

回答済み
Find the difference between images
Why wouldn't you just subtract one from the other and use some statistics like mean, variance, etc?

14年弱 前 | 2

回答済み
??? Index Exceeds Matrix Dimensions (NEW TO MATLAB)
I would say it's due to the line: c = c + 32; The largest row index you have is A(27+c,8). The value of c gets up to '0...

14年弱 前 | 0

回答済み
matrix unions
You can use a real handy function called ismember() to test elements of A against elements of B. Then it's just a matter of ind...

14年弱 前 | 1

| 採用済み

回答済み
help using fgetl???
Is this an assignment for a course you are doing? Do you have to use strtok? Or can you use something like regexp or textsca...

14年弱 前 | 0

解決済み


Check if sorted
Check if sorted. Example: Input x = [1 2 0] Output y is 0

14年弱 前

解決済み


Weighted average
Given two lists of numbers, determine the weighted average. Example [1 2 3] and [10 15 20] should result in 33.333...

14年弱 前

解決済み


Remove any row in which a NaN appears
Given the matrix A, return B in which all the rows that have one or more <http://www.mathworks.com/help/techdoc/ref/nan.html NaN...

14年弱 前

回答済み
Matrix dimensions do not match
You are calling sin() on an array. It returns an array. You are assigning that array to u(i), which is a single value in an ar...

14年弱 前 | 0

| 採用済み

回答済み
Image acquisition in matlab
If you're trying to emulate camera image acquisition using stored images, you could set up a timer to deliver a set of images at...

14年弱 前 | 0

回答済み
Convert 24 bit 2D array to 8 bit 3D (RGB) array
Try using bitwise operators like you would in C. These handily operate on a matrix, so you can split out your components like s...

14年弱 前 | 0

回答済み
creating multi-dimensional arrays from vectors
[~,~,b] = ndgrid([0 0], [0 0], a)

14年弱 前 | 0

| 採用済み

回答済み
Can MATLAB tell me which gpu device is the one connected to the display?
If you are running Windows, you could write a little MEX script that returns a list of devices and their status from the API cal...

14年弱 前 | 0

回答済み
Import Data using function
A = textread( 'mydata.dat', '', 'headerlines', 1 );

14年弱 前 | 0

解決済み


Find all elements less than 0 or greater than 10 and replace them with NaN
Given an input vector x, find all elements of x less than 0 or greater than 10 and replace them with NaN. Example: Input ...

14年弱 前

解決済み


Make a Palindrome Number
Some numbers like 323 are palindromes. Other numbers like 124 are not. But look what happens when we add that number to a revers...

14年弱 前

解決済み


Trimming Spaces
Given a string, remove all leading and trailing spaces (where space is defined as ASCII 32). Input a = ' singular value deco...

14年弱 前

解決済み


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

14年弱 前

解決済み


Summing Digits within Text
Given a string with text and digits, add all the numbers together. Examples: Input str = '4 and 20 blackbirds baked in a...

14年弱 前

さらに読み込む