回答済み
How to convert to C a function with variable fields in the input?
You can send a variable that contains full path to the file as an input argument and within the function use load command. Edit...

5年以上 前 | 0

| 採用済み

回答済み
Add legend to mutiple figures in a loop with conditional
Just an example % This might be better way to do the plotting fig1 = figure(1) ax = axes('Parent', fig1) plot(ax, x,y); leg...

5年以上 前 | 1

回答済み
Executing save command in App triggers warning "Unable to save App Designer app object"
It looks like, when one passes an app property into an anonymous function, one gets mentioned warning and wants to save app.x a...

5年以上 前 | 0

| 採用済み

質問


Executing save command in App triggers warning "Unable to save App Designer app object"
Hi guys, As the title states, I am getting this error while trying to save propererties/variables in App Designer. Full warnin...

5年以上 前 | 2 件の回答 | 0

2

回答

回答済み
save images in a new folder
saveas(gcf, sprintf('/folder/S0000%d.bmp', f))

5年以上 前 | 0

回答済み
App Designer Plot having error
It stated an error "Error is 'reference to a cleared variable app." Don't use clear all, neither clc in this and most of the ca...

5年以上 前 | 1

| 採用済み

回答済み
Disable app while calculating
uiprogressdlg is also a good option, as it "overlays" an uifigure and makes anything behind it unable to be pressed (I did not p...

5年以上 前 | 0

回答済み
App designer: How to select multiple folders
Depending on what's inside of data, here's a suggestion: Path = dir('**/*.csv'); % generates structure that contains csv files ...

5年以上 前 | 0

| 採用済み

回答済み
how export uifigure with exportgraphics()
This works https://ch.mathworks.com/help/matlab/ref/exportapp.html

5年以上 前 | 0

| 採用済み

回答済み
Combining two separate arrays into singular payoff matrix
I could suggest this C = cat(3, A, B) >> C C(:,:,1) = 4 2 2 0 C(:,:,2) = 4 2 4 2 % ...

5年以上 前 | 0

回答済み
App Designer - Button group
Create property that takes Method and Contrast level values. Create a callback for button group (method and image enhancement o...

5年以上 前 | 0

解決済み


Fix the last element of a cell array
Note: this is lifted directly from <http://www.mathworks.com/matlabcentral/answers/82825-puzzler-for-a-monday Puzzler for a Mond...

5年以上 前

解決済み


Convert a Cell Array into an Array
Given a square cell array: x = {'01', '56'; '234', '789'}; return a single character array: y = '0123456789'

5年以上 前

解決済み


String Array Basics, Part 1: Convert Cell Array to String 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...

5年以上 前

回答済み
Rename files in the folder
movefile movefile source destination movefile 'B00001.im7' 'P00001.im7' % or supply full path to the files

5年以上 前 | 0

| 採用済み

解決済み


Cell Counting: How Many Draws?
You are given a cell array containing information about a number of soccer games. Each cell contains one of the following: * ...

5年以上 前

解決済み


Remove element(s) from cell array
You can easily remove an element (or a column in any dimension) from a normal matrix, but assigning that value (or range) empty....

5年以上 前

解決済み


Create a cell array out of a struct
Create a cell array out of a (single) struct with the fieldname in the first column and the value in the second column: in: ...

5年以上 前

解決済み


Cell joiner
You are given a cell array of strings and a string delimiter. You need to produce one string which is composed of each string fr...

5年以上 前

解決済み


Matlab Basics - Assigning Variables
Assign different types of data to variables: integer, double, and strings Example: A is a double, for example 2.34 B is a...

5年以上 前

解決済み


Matlab Basics - Convert a row vector to a column vector
Write a script to convert a row (e.g. x = [1 2 3]) to a column (e.g. y = [1;2;3]), your script should be able to do this for any...

5年以上 前

解決済み


Swap two numbers
Example Input: a = 10 b = 20 Output a = 20 b = 10

5年以上 前

解決済み


Matlab Basics II - 3 Dimensional Arrays
Assume x is a 3D array with n pages, representing students in a class, for each student (page in the array, the 3rd dimension), ...

5年以上 前

解決済み


Longest run of consecutive numbers
Given a vector a, find the number(s) that is/are repeated consecutively most often. For example, if you have a = [1 2 2 2 1 ...

5年以上 前

解決済み


Rescale Scores
Each column (except last) of matrix |X| contains students' scores in a course assignment or a test. The last column has a weight...

5年以上 前

解決済み


Calculate Inner Product
Given two input matrices, |x| and |y|, check if their inner dimensions match. * If they match, create an output variable |z|...

5年以上 前

解決済み


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

5年以上 前

解決済み


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

5年以上 前

回答済み
Extracting numbers from mixed string
Variable str is actually a char array, you can get last 4 characters before dot by newstr = str(end-7:end-4) To get it in do...

5年以上 前 | 0

質問


Passing an UIAxes handle to PlotFcn
Hi guys, I am having hard time wrapping my mind around anonymous functions. I am running an optimisation problem, and I would l...

5年以上 前 | 1 件の回答 | 0

1

回答

さらに読み込む