Enviada


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

más de 9 años hace | 1 descarga |

5.0 / 5

Enviada


ufigpos
For maintaining figure proportions on different screen resolutions.

más de 9 años hace | 1 descarga |

5.0 / 5

Resuelto


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

más de 9 años hace

Resuelto


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

más de 9 años hace

Resuelto


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

más de 9 años hace

Resuelto


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

más de 9 años hace

Resuelto


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

más de 9 años hace

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

más de 9 años hace | 0

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

más de 9 años hace | 0

| aceptada

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

más de 9 años hace | 0

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

más de 9 años hace | 0

| aceptada

Enviada


cellstrfind
similar to strfind, but for use with cell arrays

más de 9 años hace | 1 descarga |

5.0 / 5

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

más de 9 años hace | 0

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

más de 9 años hace | 0

Resuelto


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

más de 9 años hace

Resuelto


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

más de 9 años hace

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

más de 9 años hace | 0

| aceptada

Enviada


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

más de 9 años hace | 1 descarga |

5.0 / 5

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

más de 9 años hace | 0

Resuelto


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

más de 9 años hace

Pregunta


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

casi 10 años hace | 1 respuesta | 0

1

respuesta

Pregunta


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

alrededor de 10 años hace | 1 respuesta | 0

1

respuesta

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

más de 10 años hace | 0

| aceptada

Pregunta


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

más de 10 años hace | 0 respuestas | 0

0

respuestas

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

más de 10 años hace | 0

| aceptada

Pregunta


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

más de 10 años hace | 1 respuesta | 0

1

respuesta

Pregunta


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

más de 10 años hace | 1 respuesta | 0

1

respuesta

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

más de 10 años hace | 1

| aceptada

Pregunta


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

más de 10 años hace | 1 respuesta | 0

1

respuesta

Pregunta


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

más de 10 años hace | 2 respuestas | 0

2

respuestas

Cargar más