photo

Nathaniel


ATK Space Systems

Attivo dal 2012

Followers: 0   Following: 0

Messaggio

Statistica

All
MATLAB Answers

1 Domanda
10 Risposte

Cody

0 Problemi
51 Soluzioni

RANK
2.369
of 301.537

REPUTAZIONE
27

CONTRIBUTI
1 Domanda
10 Risposte

ACCETTAZIONE DELLE RISPOSTE
0.0%

VOTI RICEVUTI
4

RANK
 of 21.318

REPUTAZIONE
N/A

VALUTAZIONE MEDIA
0.00

CONTRIBUTI
0 File

DOWNLOAD
0

ALL TIME DOWNLOAD
0

RANK
12.174
of 175.234

CONTRIBUTI
0 Problemi
51 Soluzioni

PUNTEGGIO
520

NUMERO DI BADGE
2

CONTRIBUTI
0 Post

CONTRIBUTI
0 Pubblico Canali

VALUTAZIONE MEDIA

CONTRIBUTI
0 Punti principali

NUMERO MEDIO DI LIKE

  • 3 Month Streak
  • Knowledgeable Level 2
  • First Answer
  • Commenter
  • Solver

Visualizza badge

Feeds

Visto da

Risposto
Simulink Project with R2010b
I think that Simulink Project first shipped with release 2011b. If you're asking if there is some way to add Simulink Project...

quasi 13 anni fa | 0

| accettato

Domanda


Why isn't there a bsxfun block in Simulink?
Recently, I have found myself adding 1-line MATLAB Function Blocks to some models, of the form (though not necessarily always wi...

quasi 13 anni fa | 1 risposta | 1

1

risposta

Risposto
Solving a Cubic Equation
The built-in function *roots* is what you're looking for.

oltre 13 anni fa | 0

| accettato

Risposto
better way to improve performance of my code
Using varargin is what's killing you. You can get avoid this by constructing the cell array in the calling code, rather than re...

oltre 13 anni fa | 0

Risposto
Input parser: default argument depends on another required argument, how to do this?
function yourFunction(n, varargin) p = inputParser; p.addRequired('n', @(x)(true)); p.addParamValue('opt1', zer...

oltre 13 anni fa | 0

Risposto
How to define a variable that store its value after closing MATLAB file?
If you're getting undefined variable errors for something you thought was supposed to be a global, then you haven't defined it t...

oltre 13 anni fa | 0

Risposto
getting error Subscript indices must either be real positive integers or logicals.
I'm assuming that you are intending p to operate as a function, but maybe you are not passing in a function handle? Matlab ap...

quasi 14 anni fa | 1

| accettato

Risposto
structure in class
Have a look at inputParser. My typical class constructor goes something like this: function obj = myclass(varargin) p =...

quasi 14 anni fa | 2

Risposto
read data from filenames in dir structure with function
Is this the first line of read_datafiles.m ? function [data1 data2] = read_datafiles(files, PathName) I would guess t...

quasi 14 anni fa | 0

| accettato

Risposto
Slow down when accessing arrays
How much memory in your computer, and how big is N? If you run out of available physical memory, then you will spend a lot of t...

quasi 14 anni fa | 0

Risposto
Adding zeroes to Row Vector using a script
It would be simple if you guaranteed that numel(x)/M is always an integer, but without that guarantee: function y = zero_in...

quasi 14 anni fa | 0

| accettato