送信済み


subplotnumber
For the numbering of subplots in the top left corner.

9年以上 前 | ダウンロード 1 件 |

5.0 / 5

送信済み


ufigpos
For maintaining figure proportions on different screen resolutions.

9年以上 前 | ダウンロード 1 件 |

5.0 / 5

解決済み


Select every other element of a vector
Write a function which returns every other element of the vector passed in. That is, it returns the all odd-numbered elements, s...

9年以上 前

解決済み


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

9年以上 前

解決済み


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

9年以上 前

解決済み


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

9年以上 前

解決済み


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

9年以上 前

回答済み
While creating a new Mathworks login account i clicked as "personal" instead of "student " how to change it now
If you go to https://mathworks.com/mwaccount/ There should be an option to add a license and change the existing one if you hav...

9年以上 前 | 0

回答済み
different excel version time convert problem
You may have to check the language setting or the formatting of the date on your mac

9年以上 前 | 0

| 採用済み

回答済み
importdata: index exceeds matrix dimensions
It fails because there is probably no file or folder that matches 'Plane.*' in the current folder on your uni machine. So dir(pr...

9年以上 前 | 0

回答済み
How to position the legend and legend box at my required place in the figure?
It will be difficult to determine the precise location automatically. You can manually position it using the 'Position' propert...

9年以上 前 | 0

| 採用済み

送信済み


cellstrfind
similar to strfind, but for use with cell arrays

9年以上 前 | ダウンロード 1 件 |

5.0 / 5

回答済み
concatonate time axis using a loop
This should do it: t = [0,1,2,3,4,5,0,1,2,3,4,5,6,7,8,9,10,0,1,2,3,4,5,6,7,8,9,10,0,1,2]; idx = find(ismember(t, 0))...

9年以上 前 | 0

回答済み
Ho to keep entries in a for loop
You are pre-initializing ele with a zero, that's why it gets stored in ASCII in every loop iteration. I would change your code ...

9年以上 前 | 0

解決済み


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

9年以上 前

解決済み


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

9年以上 前

回答済み
Error: The variable voltages1 in a parfor cannot be classified.
The problem is the line voltages1{256} = inputVoltage1; You cannot set a fixed index of an array or a matrix in a parfor...

9年以上 前 | 0

| 採用済み

送信済み


settings_backup
Creates or loads a backup of the MATLAB Preferences + Shortcuts

9年以上 前 | ダウンロード 1 件 |

5.0 / 5

回答済み
Matlab Cropping Plots to remove whitespace
I just finished working on a function that attemts to automatically solve this problem (without messing up colorbars, labels, et...

9年以上 前 | 0

解決済み


Pizza!
Given a circular pizza with radius _z_ and thickness _a_, return the pizza's volume. [ _z_ is first input argument.] Non-scor...

9年以上 前

質問


Sort dropdown lists in address field (current directory navigation bar) by date
Hi. By default, when clicking on a drop down menu in the <http://blogs.mathworks.com/community/2008/11/03/meet-the-new-curren...

10年弱 前 | 1 件の回答 | 0

1

回答

質問


Problem using ginput to reposition axes
Hi. I am working on a function that lets you interactively reposition an axes (for example a subplot) using the mouse input. T...

約10年 前 | 1 件の回答 | 0

1

回答

回答済み
what does the error ''Undefined function or method 'wholenetwork' for input arguments of type 'double'" mean?
It sounds like you may have one of the following two problems: 1. The folder containing your "wholenetwork.m" file is not add...

10年以上 前 | 0

| 採用済み

質問


"free up" workers from job on server
Hi. We have a shared server with 12 workers that we use for batch jobs. Most people send their jobs with 'NumWorkersRange' s...

10年以上 前 | 0 件の回答 | 0

0

回答

回答済み
Force even distribution over logical
Nevermind, I just found a solution: N = 1000; %number of locations in sample R = length(find(in))/(size(in,1)*size(i...

10年以上 前 | 0

| 採用済み

質問


Force even distribution over logical
Hi. I have a logical matrix C (230x312 logical) that represents locations in a country along a grid of longitudes and latitud...

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

1

回答

質問


Assign 4 GPUs - 1 to each worker in parfor loop
Hi. I have written a function that uses the GPU to speed up the progress. It seems to be working well, because the GPU version ...

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

1

回答

回答済み
Input is too large to create ByteBuffer - Error when running batch job on server
Okay I found the problem. I forgot to clear the input variables. So the job tried to return the entire workspace (including i...

10年以上 前 | 1

| 採用済み

質問


Input is too large to create ByteBuffer - Error when running batch job on server
Hi. I have some rather large simulations to run on a server. I send the scripts as batch jobs using parallel computing and t...

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

1

回答

質問


Extract rows in 3D matrix according to indexes
x2 = zeros(60, 46000, 'single'); for N = 1:46000 x2(:,N) = x(:,i(N),N); end Hi. I have a 3D matrix x with the dimension...

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

2

回答

さらに読み込む