A soumis


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

plus de 9 ans il y a | 2 téléchargements |

5.0 / 5

A soumis


ufigpos
For maintaining figure proportions on different screen resolutions.

plus de 9 ans il y a | 1 téléchargement |

5.0 / 5

A résolu


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

plus de 9 ans il y a

A résolu


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

plus de 9 ans il y a

A résolu


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

plus de 9 ans il y a

A résolu


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

plus de 9 ans il y a

A résolu


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

plus de 9 ans il y a

Réponse apportée
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...

plus de 9 ans il y a | 0

Réponse apportée
different excel version time convert problem
You may have to check the language setting or the formatting of the date on your mac

plus de 9 ans il y a | 0

| A accepté

Réponse apportée
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...

plus de 9 ans il y a | 0

Réponse apportée
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...

plus de 9 ans il y a | 0

| A accepté

A soumis


cellstrfind
similar to strfind, but for use with cell arrays

plus de 9 ans il y a | 1 téléchargement |

5.0 / 5

Réponse apportée
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))...

plus de 9 ans il y a | 0

Réponse apportée
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 ...

plus de 9 ans il y a | 0

A résolu


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

plus de 9 ans il y a

A résolu


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

plus de 9 ans il y a

Réponse apportée
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...

plus de 9 ans il y a | 0

| A accepté

A soumis


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

plus de 9 ans il y a | 1 téléchargement |

5.0 / 5

Réponse apportée
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...

plus de 9 ans il y a | 0

A résolu


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

plus de 9 ans il y a

Question


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

environ 10 ans il y a | 1 réponse | 0

1

réponse

Question


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

plus de 10 ans il y a | 1 réponse | 0

1

réponse

Réponse apportée
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...

plus de 10 ans il y a | 0

| A accepté

Question


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

plus de 10 ans il y a | 1 réponse | 0

0

réponse

Réponse apportée
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...

plus de 10 ans il y a | 0

| A accepté

Question


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

plus de 10 ans il y a | 1 réponse | 0

1

réponse

Question


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

plus de 10 ans il y a | 1 réponse | 0

1

réponse

Réponse apportée
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...

plus de 10 ans il y a | 1

| A accepté

Question


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

plus de 10 ans il y a | 1 réponse | 0

1

réponse

Question


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

plus de 10 ans il y a | 2 réponses | 0

2

réponses

Charger plus