Beantwortet
error using the join function
The corrext syntax is - FinalData = join(All,M4,'Keys',{'ID','Year'}); %or FinalData = join(All,M4,'Keys',["ID","Year"]); ...

fast 3 Jahre vor | 0

Gelöst


Neural Net: Calculate Perceptron
This challenge is to calculate the Neural Net Perceptron value,P, given X, WH, and WP using ReLU on the hidden layer. This examp...

fast 3 Jahre vor

Gelöst


Neural Net: Calculate Bias Single Perceptron (AND/NAND/OR/NOR/XOR)
This challenge is to calculate the Neural Net Bias Perceptron vector,P, given X, WH, and WP using ReLU on the hidden layer. Test...

fast 3 Jahre vor

Gelöst


Neural Nets: Activation functions
Return values of selected Activation function type for value,vector, and matrices. y=Activation(x,id); where id is 1:4 for ReLU...

fast 3 Jahre vor

Gelöst


Neural Net: Best Index of Prediction array
The final ouput of a neural net application is a Prediction matrix/vector,P, that gives the probability of the input being of a ...

fast 3 Jahre vor

Beantwortet
How do I convert a numerical vector into a comma-delimited string?
(Quite) A simple approach that has not been mentioned yet - n = [12345 6789 10234 3452]; out = strjoin(string(n),",")

fast 3 Jahre vor | 3

Beantwortet
Assertion Failing, even if the output value (or string, in this case) and the assertion is exactly same
The problem is there is an extra space after India, thus the strings are not equal and the assertion fails - s1 = "India 250 & ...

fast 3 Jahre vor | 0

| akzeptiert

Beantwortet
Extract some rows of the matrix with the find command
Use ismember with logical indexing - matrix = [6 6 5 7 6 0 8 6 10 9 6 3 10 6 7 11 6 0 12 6 2 13 6 0]; idx = ismember...

fast 3 Jahre vor | 0

| akzeptiert

Beantwortet
Why does my colour bar not go up to the maximum values in the matrix?
"and I am checking what the maximum values in the matrix that I am plotting are:" No, you are checking the values of A, whereas...

fast 3 Jahre vor | 1

| akzeptiert

Beantwortet
how do I add a second x-axis label below existing one instead of plotting two figures ?
%Minimum working example solution for differently scaled x-axis with similar range of y-values %Adjust/Modify properties as nec...

fast 3 Jahre vor | 2

| akzeptiert

Beantwortet
determine within cell the coordinates (rows/columns) having equal 3 numbers
You don't need to convert the data to cell array to find that - rgb = randi(4,3,3,3,'uint8') %Method 1 [r,c]=find(rgb(:,:,2)...

fast 3 Jahre vor | 2

Beantwortet
how add "$" and "' ' " in array string
T = ["139411.39" "115944.39" "413970.912" "124256.379" "144673.585" "93473.162" "334232.706" ...

fast 3 Jahre vor | 1

Beantwortet
save the RGB numbers of an image inside a cell
%Random data for example rgb = randi(255,100,100,3,'uint8'); %Convert the data to a cell array, by breaking it into sub-arra...

fast 3 Jahre vor | 0

| akzeptiert

Beantwortet
Error using dot A and B must be same size in MATLAB (moment Vectors)
You are not exactly doing what's done in the reference. s = size(r); B = zeros(s,'sym'); for m=1:s(1) for n=1:s(2) ...

fast 3 Jahre vor | 0

| akzeptiert

Gelöst


Throwing Dice - Will You Be Eaten By The Dragon?
You and a dragon have agreed to let dice rolls determine whether it eats you or not. The dragon will roll a single die, of x si...

fast 3 Jahre vor

Beantwortet
when converting a time into an array I lose the date column
"(i want to use it using uitable and display it in a table)" Convert the timetable to table and use accordingly - tableName =...

fast 3 Jahre vor | 1

Beantwortet
How to import data from an Excel file to an equation in matlab
"but I feel like its possible to just import the columns of the excel to the matlab, is it possible?" Yes, use readmatrix.

fast 3 Jahre vor | 1

Beantwortet
Check if a value exists in a cell array starting from a value whose index is the desired value
I have unsuppressed the output of variable temp to show the path that is followed (as you have demonstrated above) - A={5, 15, ...

fast 3 Jahre vor | 0

| akzeptiert

Beantwortet
Related vector values via cell array
A=(1:10)'; B={15, 12, 0, [11, 7], 9, 0, [1, 20, 21], 18, 7, 0, 16, [13, 14], 17, 4, 6}; m = max([B{:}]); z1 = nested(A,B,2,...

fast 3 Jahre vor | 0

| akzeptiert

Gelöst


Draw the Greek letter 'α'
Given the dimensions of a matrix nRow and nCol where nCol > nRow, draw the Greek letter 'α' with 1's and 0's. You can consider t...

fast 3 Jahre vor

Gelöst


String vowel manipulation
Given a string, find all the vowels and shift them to the end of the string in the same order as they are found.

fast 3 Jahre vor

Gelöst


Make a (better) checkerboard matrix
This problem seeks to expand the task in Cody Problem 4 by allowing for the creation of checkerboard matrices that can be rectan...

fast 3 Jahre vor

Beantwortet
How i can plot a constant function on the same figure with variable function ?
Use hold on to add more curves to the same figure. Check out the documentatino for more info - hold

fast 3 Jahre vor | 3

| akzeptiert

Beantwortet
Is there a way for reducing my code lines in a code for ploting
Store your data in array and use indices to access the data - Es = 200*10^9; % Young's modulus of the solid of the steel(Pa) ...

fast 3 Jahre vor | 1

| akzeptiert

Beantwortet
optimization of resources for organization with limited resources
I have corrected your code and added comments (double %) for reference - % Given data v = [10, 20, 30, 40, 50]; d = [4, 5, 6...

fast 3 Jahre vor | 2

| akzeptiert

Gelöst


Find the Peak Particle Velocity on a ETL structure
PPV is a vibration parameter that can connect stress to a structure, it is measured in mm/s or mm/s-1. The higher the PPV the mo...

fast 3 Jahre vor

Beantwortet
Conversion of symbolic expression to double without obtaining complex numbers
"Is there any possibility to garantuee that Matlab takes the abs values for the log if I get the log inside my derivative" You ...

fast 3 Jahre vor | 0

Beantwortet
Plot graph didnt showing up
I assume that you are running a script by pressing the run button (or typing the script name in command window). The pause comm...

fast 3 Jahre vor | 0

| akzeptiert

Beantwortet
How to move the colorbar label to top position of the bar?
C = [0 2 4 6; 8 10 12 14; 16 18 20 22]; clims = [4 18]; imagesc(C,clims) e=colorbar; e.Label.String = 'amp'; %Adjust the ...

fast 3 Jahre vor | 1

| akzeptiert

Beantwortet
Wish to use output of the first iteration in a loop as an input in the second iteration of the loop
%Values M1 = 5; Altitude = 28000; gamma = 1.4; Theta = 8; %[Beta] = betacalli...

fast 3 Jahre vor | 0

| akzeptiert

Mehr laden