Inviato


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

oltre 9 anni fa | 1 download |

5.0 / 5

Inviato


ufigpos
For maintaining figure proportions on different screen resolutions.

oltre 9 anni fa | 1 download |

5.0 / 5

Risolto


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

oltre 9 anni fa

Risolto


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

oltre 9 anni fa

Risolto


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

oltre 9 anni fa

Risolto


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

oltre 9 anni fa

Risolto


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

oltre 9 anni fa

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

oltre 9 anni fa | 0

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

oltre 9 anni fa | 0

| accettato

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

oltre 9 anni fa | 0

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

oltre 9 anni fa | 0

| accettato

Inviato


cellstrfind
similar to strfind, but for use with cell arrays

oltre 9 anni fa | 1 download |

5.0 / 5

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

oltre 9 anni fa | 0

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

oltre 9 anni fa | 0

Risolto


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

oltre 9 anni fa

Risolto


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

oltre 9 anni fa

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

oltre 9 anni fa | 0

| accettato

Inviato


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

oltre 9 anni fa | 1 download |

5.0 / 5

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

oltre 9 anni fa | 0

Risolto


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

oltre 9 anni fa

Domanda


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

quasi 10 anni fa | 1 risposta | 0

1

risposta

Domanda


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

circa 10 anni fa | 1 risposta | 0

1

risposta

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

oltre 10 anni fa | 0

| accettato

Domanda


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

oltre 10 anni fa | 0 risposte | 0

0

risposte

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

oltre 10 anni fa | 0

| accettato

Domanda


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

oltre 10 anni fa | 1 risposta | 0

1

risposta

Domanda


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

oltre 10 anni fa | 1 risposta | 0

1

risposta

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

oltre 10 anni fa | 1

| accettato

Domanda


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

oltre 10 anni fa | 1 risposta | 0

1

risposta

Domanda


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

oltre 10 anni fa | 2 risposte | 0

2

risposte

Carica altro